roleDefinitionCreate
Create a new role definition in the authorization system.
Establishes a new role definition with specified permissions and configuration. Role definitions serve as templates for creating roles and define the available permissions in the system.
Possible errors:
- ROLE_DEFINITION_CREATE_ERROR: Failed to create the role definition
- ROLE_DEFINITION_ALREADY_EXISTS_ERROR: Role definition with the same name already exists
roleDefinitionCreate(
input: RoleDefinitionCreateInput!
): RoleDefinition!
Arguments
roleDefinitionCreate.input
● RoleDefinitionCreateInput!
non-null input
Role definition creation data including name, permissions, and configuration.
Contains all necessary information to create a functional role definition including permission specifications and metadata.