roleCreate
Create a new role in the authorization system.
Establishes a new role with specified permissions and role definitions. The role will be available for assignment to users and can be used for access control throughout the system.
Possible errors:
- ROLE_CREATE_ERROR: Failed to create the role
- ROLE_ALREADY_EXISTS_ERROR: Role with the same name already exists
- ROLE_USER_NOT_FOUND_ERROR: Under the admin-authentication tenant, no back-office user with this id whose roles you may change
AUTH: Role=[role.OWNER]
roleCreate(
input: RoleCreateInput!
): Role!
Arguments
roleCreate.input ● RoleCreateInput! non-null input
Role creation data including name, permissions, and configuration.
Contains all necessary information to create a functional role including role definitions and access permissions.