WhoItemInput
Input object to represent a WHO item for the access control. Only one of user, accessControl, dataSource or recipient should be filled in, depending on the type of the WHO item.
input WhoItemInput {
accessControl: ID
dataSource: ID
expiresAt: Time
promiseDuration: Duration
recipient: String
type: AccessWhoItemType
user: ID
}Fields
accessControl ● ID scalar
The ID of the access control for the WHO item.
dataSource ● ID scalar
The ID of the data source for the WHO item (for shares).
expiresAt ● Time scalar
The time at which this WHO item will expire.
promiseDuration ● Duration scalar
In case type=whoPromise, this indicates for how long the promise will provide access when requested.
recipient ● String scalar
The identifier of the recipient account (for shares).
type ● AccessWhoItemType enum
Defines if the users that are matched by this ABAC rule will get the access granted directly or as a promise (pre-approval).
user ● ID scalar
The ID of the user for the WHO item.
Member Of
AccessControlInput input ● addWhoToAccessControl mutation ● addWhoToAccessControlFromAccessRequest mutation
Last updated
Was this helpful?