Skip to main content

User

No description

type User {
id: ID!
name: String!
username: String!
email: String
role: String!
cases: [Case]
permissionsRole: Role
}

Fields​

User.id ● ID! non-null scalar​

User.name ● String! non-null scalar​

User.username ● String! non-null scalar​

User.email ● String scalar​

User.role ● String! non-null scalar​

The system type of the user, either 'admin' or 'user'. This indicates their high-level access within the application

User.cases ● [Case] list object​

User.permissionsRole ● Role object​

The assigned role defining the user's granular permissions.

Returned By​

createUser mutation ● updateUser mutation ● user query

Member Of​

CollectionItem_User object ● Group object ● Role object

Implemented By​

CaseAccess union