SyncPermissionTarget
A target where users can configure how the sync should behave.
interface SyncPermissionTarget implements BaseNode, Named, NamedNode, Node {
description: String!
hasPermission(
permission: AllPermissionEntry
): Boolean!
id: ID!
name: String!
syncOthersAllowedBy(
after: String
before: String
filter: GropiusUserFilterInput
first: Int
last: Int
orderBy: [GropiusUserOrder!]
skip: Int
): GropiusUserConnection!
syncSelfAllowedBy(
after: String
before: String
filter: GropiusUserFilterInput
first: Int
last: Int
orderBy: [GropiusUserOrder!]
skip: Int
): GropiusUserConnection!
}
Fields
SyncPermissionTarget.description
● String!
non-null scalar
The description of this entity.
SyncPermissionTarget.hasPermission
● Boolean!
non-null scalar
Checks if the current user has a specific permission on this Node
SyncPermissionTarget.hasPermission.permission
●AllPermissionEntry
enumThe permission to check for
SyncPermissionTarget.id
● ID!
non-null scalar
The unique id of this node
SyncPermissionTarget.name
● String!
non-null scalar
The name of this entity.
SyncPermissionTarget.syncOthersAllowedBy
● GropiusUserConnection!
non-null object
The users which allow to sync the data of other users to this target.
SyncPermissionTarget.syncOthersAllowedBy.after
●String
scalarGet only items after the cursor
SyncPermissionTarget.syncOthersAllowedBy.before
● String
scalar
Get only items before the cursor
SyncPermissionTarget.syncOthersAllowedBy.filter
● GropiusUserFilterInput
input
Filter for specific items in the connection
SyncPermissionTarget.syncOthersAllowedBy.first
● Int
scalar
Get the first n items. Must not be used if before is specified
SyncPermissionTarget.syncOthersAllowedBy.last
● Int
scalar
Get the last n items. Must not be used if after is specified
SyncPermissionTarget.syncOthersAllowedBy.orderBy
● [GropiusUserOrder!]
list input
Order in which the items are sorted
SyncPermissionTarget.syncOthersAllowedBy.skip
● Int
scalar
Skips n items. First or last MUST be specified, is otherwise ignored
SyncPermissionTarget.syncSelfAllowedBy
● GropiusUserConnection!
non-null object
The users which allow to sync their data to this target.
SyncPermissionTarget.syncSelfAllowedBy.after
●String
scalarGet only items after the cursor
SyncPermissionTarget.syncSelfAllowedBy.before
● String
scalar
Get only items before the cursor
SyncPermissionTarget.syncSelfAllowedBy.filter
● GropiusUserFilterInput
input
Filter for specific items in the connection
SyncPermissionTarget.syncSelfAllowedBy.first
● Int
scalar
Get the first n items. Must not be used if before is specified
SyncPermissionTarget.syncSelfAllowedBy.last
● Int
scalar
Get the last n items. Must not be used if after is specified
SyncPermissionTarget.syncSelfAllowedBy.orderBy
● [GropiusUserOrder!]
list input
Order in which the items are sorted
SyncPermissionTarget.syncSelfAllowedBy.skip
● Int
scalar
Skips n items. First or last MUST be specified, is otherwise ignored
Interfaces
BaseNode
interface
Shared extensions to the node type.
Named
interface
Entity with a name and a description.
NamedNode
interface
Node with a name and description
Node
interface
Base class of all nodes
Member of
SyncPermissionTargetConnection
object ● SyncPermissionTargetEdge
object
Implemented by
IMS
object ● IMSProject
object