Create a new Roles instance.
Function for making API requests
Get details of a specific role, including its permissions. Requires Roleman to be enabled; not supported on private (on-premise) instances.
The role ID to get
Promise with the role information
List roles available to the current user.
Optionaloptions: ListRolesOptions<C>Optional parameters for filtering and column selection
Promise with the list of roles
List permissions that can be granted through a role.
Optionaloptions: ListRolePermissionsOptionsOptional parameters for filtering by role category
Promise with the list of permissions
Class providing methods for working with Make roles. Covers both built-in system roles and, when enabled, custom roles.