RoleCreateInput
No description
input RoleCreateInput {
roleDefinitionId: String!
access: RoleAccess!
userId: Int!
}
Fields
RoleCreateInput.roleDefinitionId
● String!
non-null scalar
Primary identifier for the role definition to base this role on.
Must be a valid UUID referencing an existing role definition that will determine the role's domain and available permissions. The role definition defines the structural template for this role.
RoleCreateInput.access
● RoleAccess!
non-null enum
The access level to grant for this role.
Determines the permissions the user will have within the role definition's domain. Higher access levels include permissions from lower levels, creating a hierarchical permission structure.
RoleCreateInput.userId
● Int!
non-null scalar
The identifier of the user this role will be assigned to.
Specifies which user will receive the permissions defined by this role. Must be a positive integer representing a valid user in the system.
Member Of
roleCreate
mutation