NodePermission
No description
interface NodePermission implements BaseNode, BasePermission, Named, NamedNode, Node {
allUsers: Boolean!
description: String!
entries: [String!]!
hasPermission(
permission: AllPermissionEntry
): Boolean!
id: ID!
name: String!
users(
after: String
before: String
filter: GropiusUserFilterInput
first: Int
last: Int
orderBy: [GropiusUserOrder!]
skip: Int
): GropiusUserConnection!
}
Fields
NodePermission.allUsers
● Boolean!
non-null scalar
If, the permission is granted to all users. Use with caution.
NodePermission.description
● String!
non-null scalar
The description of this entity.
NodePermission.entries
● [String!]!
non-null scalar
NodePermission.hasPermission
● Boolean!
non-null scalar
Checks if the current user has a specific permission on this Node
NodePermission.hasPermission.permission
●AllPermissionEntry
enumThe permission to check for
NodePermission.id
● ID!
non-null scalar
The unique id of this node
NodePermission.name
● String!
non-null scalar
The name of this entity.
NodePermission.users
● GropiusUserConnection!
non-null object
GropiusUsers granted this Permission
NodePermission.users.after
●String
scalarGet only items after the cursor
NodePermission.users.before
● String
scalar
Get only items before the cursor
NodePermission.users.filter
● GropiusUserFilterInput
input
Filter for specific items in the connection
NodePermission.users.first
● Int
scalar
Get the first n items. Must not be used if before is specified
NodePermission.users.last
● Int
scalar
Get the last n items. Must not be used if after is specified
NodePermission.users.orderBy
● [GropiusUserOrder!]
list input
Order in which the items are sorted
NodePermission.users.skip
● Int
scalar
Skips n items. First or last MUST be specified, is otherwise ignored
Interfaces
BaseNode
interface
Shared extensions to the node type.
BasePermission
interface
Named
interface
Entity with a name and a description.
NamedNode
interface
Node with a name and description
Node
interface
Base class of all nodes