AccessRequest
Defined in: js-api/src/dapi.ts:1191
A request for a permission on an entity, for a global permission (no entityId), or, with neither, for help
with a denial that came with a message only.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
approved? | boolean | Absent while the request is pending. | js-api/src/dapi.ts:1228 |
author? | object | The requester. | js-api/src/dapi.ts:1199 |
author.id | string | - | js-api/src/dapi.ts:1199 |
bundle? | "use" | "full" | The named set the request asks for instead of a list: use ("View and use") or full ("Full access"). | js-api/src/dapi.ts:1220 |
createdOn? | string | When the request was filed, as an ISO date. | js-api/src/dapi.ts:1226 |
entityId? | string | Id of the entity the permission is asked on; absent for a global permission. | js-api/src/dapi.ts:1209 |
entityName? | string | Name and type of the entity, when the current user can view it. | js-api/src/dapi.ts:1211 |
entityType? | string | Type of that entity; absent when the reader cannot view it. | js-api/src/dapi.ts:1213 |
from? | object | The requester's personal group. | js-api/src/dapi.ts:1201 |
from.id | string | - | js-api/src/dapi.ts:1201 |
fullAccess? | boolean | The request asks for every permission of the entity: bundle is full. | js-api/src/dapi.ts:1222 |
granted? | AccessRequestApproval | What the approver granted. | js-api/src/dapi.ts:1234 |
groupId? | string | The group or role a membership request asks to join. | js-api/src/dapi.ts:1203 |
groupIsRole? | boolean | True when a membership request asks for a role, not a group. | js-api/src/dapi.ts:1207 |
groupName? | string | Name of that group or role. | js-api/src/dapi.ts:1205 |
id | string | Id of the request. | js-api/src/dapi.ts:1193 |
kind? | "permission" | "membership" | membership for a request to join the group groupId; such a row comes from PermissionsDataSource.myRequests only. | js-api/src/dapi.ts:1195 |
message? | string | The note the requester left for the approver. | js-api/src/dapi.ts:1224 |
permission? | string | The global permission asked for; for an entity, the first of permissions. | js-api/src/dapi.ts:1215 |
permissions? | string[] | The permissions asked for on the entity. For a fullAccess request, what it stands for, when the current user can view the entity. | js-api/src/dapi.ts:1218 |
resolutionDate? | string | When the request was resolved, as an ISO date. | js-api/src/dapi.ts:1232 |
resolvedBy? | object | Who approved or denied the request. | js-api/src/dapi.ts:1230 |
resolvedBy.friendlyName? | string | - | js-api/src/dapi.ts:1230 |
resolvedBy.id | string | - | js-api/src/dapi.ts:1230 |
status? | "pending" | "approved" | "denied" | "withdrawn" | Set on the rows of PermissionsDataSource.myRequests; withdrawn is a request its author cancelled. | js-api/src/dapi.ts:1197 |