Creates a new role.
The name, and optionally ACLs and permissions, for the new role
The new role's ID
Deletes a role.
The role's ID
Edits a role's information.
Note that editing permissions and/or ACLs here overwrites them on the role! If you don't know the existing state of these to properly merge your changes, I suggest using grant instead.
The role's ID
The parts of the role to alter
Gets a role's info from its ID.
The role's ID
The role's information/details
Grants and revokes ACLs and permissions on a role.
This is intended for cases where you don't already know the current state of these values (such as in a CLI), as it does not overwrite. If you do know them (such as in a web panel), see edit instead.
The role's ID
An array of grantable objects using their IDs, types, and whether to grant or revoke the object
Gets the list of roles and their IDs.
A list of roles with their corresponding IDs
Methods for reading, listing, and updating roles and their permission and ACL grants.