The name of the role
Add an access grant to a role
Add an access grant (an action/resource pair) to a role. The caller needs manageRoles over the role’s scope, and manageAccessRights over the exact action/resource pair being granted. The action and resource must be within the role’s declared scope.
Path Parameters
Body
application/json
Body
AccessGrant
An access right (an action/resource pair) attached to a role. Every member of the role inherits it. The action and resource must be within the role’s declared scope.
Name of the action.
Example:read_narrative
Name of the resource.
Example:compound_1245
Response
application/json
Response
Created
AccessGrant
An access right (an action/resource pair) attached to a role. Every member of the role inherits it. The action and resource must be within the role’s declared scope.
The unique identifier of the access grant, mostly for deletion purpose.
Name of the action.
Example:read_narrative
Name of the resource.
Example:compound_1245
The name of the role this grant is attached to, as given in the path.