GropiusUser
A user of the Gropius System. The username can be used as unique identifier for GropiusUsers. IMSUsers can be linked to a GropiusUser. Note however that this link does not affect relationships, e.g. if an IMSUser is part of an Assignment, after the IMSUser was linked to a GropiusUser, the GropiusUser does not link directly to the Assignment. Therefore, to collect all Assignments, Issue participations etc. it is necessary to also request all linked IMSUsers and their Assignments etc.
type GropiusUser implements BaseNode, Node, User {
assignments(
after: String
before: String
filter: AssignmentFilterInput
first: Int
last: Int
orderBy: [AssignmentOrder!]
skip: Int
): AssignmentConnection!
avatar: URL!
canSyncOthers(
after: String
before: String
filter: SyncPermissionTargetFilterInput
first: Int
last: Int
orderBy: [SyncPermissionTargetOrder!]
skip: Int
): SyncPermissionTargetConnection!
canSyncSelf(
after: String
before: String
filter: SyncPermissionTargetFilterInput
first: Int
last: Int
orderBy: [SyncPermissionTargetOrder!]
skip: Int
): SyncPermissionTargetConnection!
createdNodes(
after: String
before: String
filter: AuditedNodeFilterInput
first: Int
last: Int
orderBy: [AuditedNodeOrder!]
skip: Int
): AuditedNodeConnection!
displayName: String!
email: String
hasPermission(
permission: AllPermissionEntry
): Boolean!
id: ID!
imsUsers(
after: String
before: String
filter: IMSUserFilterInput
first: Int
last: Int
orderBy: [IMSUserOrder!]
skip: Int
): IMSUserConnection!
isAdmin: Boolean!
participatedIssues(
after: String
before: String
filter: IssueFilterInput
first: Int
last: Int
orderBy: [IssueOrder!]
skip: Int
): IssueConnection!
permissions(
after: String
before: String
filter: BasePermissionFilterInput
first: Int
last: Int
orderBy: [BasePermissionOrder!]
skip: Int
): BasePermissionConnection!
username: String!
}
Fields
GropiusUser.assignments
● AssignmentConnection!
non-null object
Assignments the user is part of, this includes assignments which aren't active.
GropiusUser.assignments.after
●String
scalarGet only items after the cursor
GropiusUser.assignments.before
● String
scalar
Get only items before the cursor
GropiusUser.assignments.filter
● AssignmentFilterInput
input
Filter for specific items in the connection
GropiusUser.assignments.first
● Int
scalar
Get the first n items. Must not be used if before is specified
GropiusUser.assignments.last
● Int
scalar
Get the last n items. Must not be used if after is specified
GropiusUser.assignments.orderBy
● [AssignmentOrder!]
list input
Order in which the items are sorted
GropiusUser.assignments.skip
● Int
scalar
Skips n items. First or last MUST be specified, is otherwise ignored
GropiusUser.avatar
● URL!
non-null scalar
The avatar of the user.
GropiusUser.canSyncOthers
● SyncPermissionTargetConnection!
non-null object
The IMSSyncPermissionTarget this users allow to sync content of other users.
GropiusUser.canSyncOthers.after
●String
scalarGet only items after the cursor
GropiusUser.canSyncOthers.before
● String
scalar
Get only items before the cursor
GropiusUser.canSyncOthers.filter
● SyncPermissionTargetFilterInput
input
Filter for specific items in the connection
GropiusUser.canSyncOthers.first
● Int
scalar
Get the first n items. Must not be used if before is specified
GropiusUser.canSyncOthers.last
● Int
scalar
Get the last n items. Must not be used if after is specified
GropiusUser.canSyncOthers.orderBy
● [SyncPermissionTargetOrder!]
list input
Order in which the items are sorted
GropiusUser.canSyncOthers.skip
● Int
scalar
Skips n items. First or last MUST be specified, is otherwise ignored
GropiusUser.canSyncSelf
● SyncPermissionTargetConnection!
non-null object
The UserSyncPermissionTarget this users allow to sync content of this user.
GropiusUser.canSyncSelf.after
●String
scalarGet only items after the cursor
GropiusUser.canSyncSelf.before
● String
scalar
Get only items before the cursor
GropiusUser.canSyncSelf.filter
● SyncPermissionTargetFilterInput
input
Filter for specific items in the connection
GropiusUser.canSyncSelf.first
● Int
scalar
Get the first n items. Must not be used if before is specified
GropiusUser.canSyncSelf.last
● Int
scalar
Get the last n items. Must not be used if after is specified
GropiusUser.canSyncSelf.orderBy
● [SyncPermissionTargetOrder!]
list input
Order in which the items are sorted
GropiusUser.canSyncSelf.skip
● Int
scalar
Skips n items. First or last MUST be specified, is otherwise ignored
GropiusUser.createdNodes
● AuditedNodeConnection!
non-null object
AuditedNodes the user created.
GropiusUser.createdNodes.after
●String
scalarGet only items after the cursor
GropiusUser.createdNodes.before
● String
scalar
Get only items before the cursor
GropiusUser.createdNodes.filter
● AuditedNodeFilterInput
input
Filter for specific items in the connection
GropiusUser.createdNodes.first
● Int
scalar
Get the first n items. Must not be used if before is specified
GropiusUser.createdNodes.last
● Int
scalar
Get the last n items. Must not be used if after is specified
GropiusUser.createdNodes.orderBy
● [AuditedNodeOrder!]
list input
Order in which the items are sorted
GropiusUser.createdNodes.skip
● Int
scalar
Skips n items. First or last MUST be specified, is otherwise ignored
GropiusUser.displayName
● String!
non-null scalar
The name which should be displayed for the user.
GropiusUser.email
● String
scalar
The email address of the user.
GropiusUser.hasPermission
● Boolean!
non-null scalar
Checks if the current user has a specific permission on this Node
GropiusUser.hasPermission.permission
●AllPermissionEntry
enumThe permission to check for
GropiusUser.id
● ID!
non-null scalar
The unique id of this node
GropiusUser.imsUsers
● IMSUserConnection!
non-null object
The IMSUsers linked to this GropiusUser.
GropiusUser.imsUsers.after
●String
scalarGet only items after the cursor
GropiusUser.imsUsers.before
● String
scalar
Get only items before the cursor
GropiusUser.imsUsers.filter
● IMSUserFilterInput
input
Filter for specific items in the connection
GropiusUser.imsUsers.first
● Int
scalar
Get the first n items. Must not be used if before is specified
GropiusUser.imsUsers.last
● Int
scalar
Get the last n items. Must not be used if after is specified
GropiusUser.imsUsers.orderBy
● [IMSUserOrder!]
list input
Order in which the items are sorted
GropiusUser.imsUsers.skip
● Int
scalar
Skips n items. First or last MUST be specified, is otherwise ignored
GropiusUser.isAdmin
● Boolean!
non-null scalar
True if the user is an admin
GropiusUser.participatedIssues
● IssueConnection!
non-null object
Issues the user participated in.
GropiusUser.participatedIssues.after
●String
scalarGet only items after the cursor
GropiusUser.participatedIssues.before
● String
scalar
Get only items before the cursor
GropiusUser.participatedIssues.filter
● IssueFilterInput
input
Filter for specific items in the connection
GropiusUser.participatedIssues.first
● Int
scalar
Get the first n items. Must not be used if before is specified
GropiusUser.participatedIssues.last
● Int
scalar
Get the last n items. Must not be used if after is specified
GropiusUser.participatedIssues.orderBy
● [IssueOrder!]
list input
Order in which the items are sorted
GropiusUser.participatedIssues.skip
● Int
scalar
Skips n items. First or last MUST be specified, is otherwise ignored
GropiusUser.permissions
● BasePermissionConnection!
non-null object
Permissions the user has.
GropiusUser.permissions.after
●String
scalarGet only items after the cursor
GropiusUser.permissions.before
● String
scalar
Get only items before the cursor
GropiusUser.permissions.filter
● BasePermissionFilterInput
input
Filter for specific items in the connection
GropiusUser.permissions.first
● Int
scalar
Get the first n items. Must not be used if before is specified
GropiusUser.permissions.last
● Int
scalar
Get the last n items. Must not be used if after is specified
GropiusUser.permissions.orderBy
● [BasePermissionOrder!]
list input
Order in which the items are sorted
GropiusUser.permissions.skip
● Int
scalar
Skips n items. First or last MUST be specified, is otherwise ignored
GropiusUser.username
● String!
non-null scalar
A unique identifier for the GropiusUser. Note that this might not be unique across all Users.
Interfaces
BaseNode
interface
Shared extensions to the node type.
Node
interface
Base class of all nodes
User
interface
A user known to the Gropius System. This might be a user that registered directly, or a user the systems know via a sync adapter. A user can create AuditedNodes, participate in Issues and be assigned to Issues. READ is always granted.
Returned by
currentUser
query ● searchGropiusUsers
query
Member of
GropiusUserConnection
object ● GropiusUserEdge
object ● IMSUser
object ● UpdateGropiusUserPayload
object