ProjectUser
ProjectUser is the instance of a user within a project.
A projectUser has a role (ADMIN, TEAM_MANAGER, REVIEWER, LABELER) which grants him specific rights within this project in terms of read/write operations.
type ProjectUser {
id: ID!
activated: Boolean!
deletedAt: DateTime
status: ProjectUserStatus!
isAuthor: Boolean
project: Project!
role: ProjectRole!
starred: Boolean!
user: User!
_: Boolean
}
Fields
ProjectUser.id
● ID!
non-null scalar
ProjectUser.activated
● Boolean!
non-null scalar
Activated projectUsers can access their project. Deactivated projectUsers cannot access their project.
ProjectUser.deletedAt
● DateTime
scalar
ProjectUser.status
● ProjectUserStatus!
non-null enum
status indicates the current projectuser status. ORG_ADMIN : Is an Organization Admin. Is automatically added to projects. ACTIVATED : Has been invited to the project. Is not an Organization Admin ORG_SUSPENDED : Has been suspended at the organization level. Can no longer access any projects.
ProjectUser.isAuthor
● Boolean
scalar
isAuthor indicates whether a project user is author of its project or not.
ProjectUser.project
● Project!
non-null object
Project of projectUser
ProjectUser.role
● ProjectRole!
non-null enum
Role of projectUser within the project. It can either be:
ADMIN TEAM_MANAGER REVIEWER LABELER
ProjectUser.starred
● Boolean!
non-null scalar
Did user from projectUser star project in the list of projects on front page?
ProjectUser.user
● User!
non-null object
User of projectUser
ProjectUser._
● Boolean
scalar
Member Of
Asset
object ● Comment
object ● Project
object ● User
object