Skip to main content

BasePermission

No description

interface BasePermission implements BaseNode, Named, NamedNode, Node {
allUsers: Boolean!
description: 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

BasePermission.allUsers ● Boolean! non-null scalar

If, the permission is granted to all users. Use with caution.

BasePermission.description ● String! non-null scalar

The description of this entity.

BasePermission.hasPermission ● Boolean! non-null scalar

Checks if the current user has a specific permission on this Node

BasePermission.hasPermission.permission ● AllPermissionEntry enum

The permission to check for

BasePermission.id ● ID! non-null scalar

The unique id of this node

BasePermission.name ● String! non-null scalar

The name of this entity.

BasePermission.users ● GropiusUserConnection! non-null object

GropiusUsers granted this Permission

BasePermission.users.after ● String scalar

Get only items after the cursor

BasePermission.users.before ● String scalar

Get only items before the cursor

BasePermission.users.filter ● GropiusUserFilterInput input

Filter for specific items in the connection

BasePermission.users.first ● Int scalar

Get the first n items. Must not be used if before is specified

BasePermission.users.last ● Int scalar

Get the last n items. Must not be used if after is specified

BasePermission.users.orderBy ● [GropiusUserOrder!] list input

Order in which the items are sorted

BasePermission.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.

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

BasePermissionConnection object ● BasePermissionEdge object

Implemented by

ComponentPermission object ● GlobalPermission object ● IMSPermission object ● NodePermission interface ● ProjectPermission object