Skip to content

IMSPermission ​

NodePermission to grant specific permissions to a set of IMSs.

graphql
type IMSPermission implements BaseNode, BasePermission, Named, NamedNode, Node {
  allUsers: Boolean!
  description: String!
  entries: [IMSPermissionEntry!]!
  hasPermission(
    permission: AllPermissionEntry
  ): Boolean!
  id: ID!
  name: String!
  nodesWithPermission(
    after: String
    before: String
    filter: IMSFilterInput
    first: Int
    last: Int
    orderBy: [IMSOrder!]
    skip: Int
  ): IMSConnection!
  users(
    after: String
    before: String
    filter: GropiusUserFilterInput
    first: Int
    last: Int
    orderBy: [GropiusUserOrder!]
    skip: Int
  ): GropiusUserConnection!
}

Fields ​

IMSPermission.allUsers ● Boolean! non-null scalar ​

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

IMSPermission.description ● String! non-null scalar ​

The description of this entity.

IMSPermission.entries ● [IMSPermissionEntry!]! non-null enum ​

All permissions this Permission grants

IMSPermission.hasPermission ● Boolean! non-null scalar ​

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

IMSPermission.hasPermission.permission ● AllPermissionEntry enum ​

The permission to check for

IMSPermission.id ● ID! non-null scalar ​

The unique id of this node

IMSPermission.name ● String! non-null scalar ​

The name of this entity.

IMSPermission.nodesWithPermission ● IMSConnection! non-null object ​

Nodes on which the Permission is granted.

IMSPermission.nodesWithPermission.after ● String scalar ​

Get only items after the cursor

IMSPermission.nodesWithPermission.before ● String scalar ​

Get only items before the cursor

IMSPermission.nodesWithPermission.filter ● IMSFilterInput input ​

Filter for specific items in the connection

IMSPermission.nodesWithPermission.first ● Int scalar ​

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

IMSPermission.nodesWithPermission.last ● Int scalar ​

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

IMSPermission.nodesWithPermission.orderBy ● [IMSOrder!] list input ​

Order in which the items are sorted

IMSPermission.nodesWithPermission.skip ● Int scalar ​

Skips n items. First or last MUST be specified, is otherwise ignored

IMSPermission.users ● GropiusUserConnection! non-null object ​

GropiusUsers granted this Permission

IMSPermission.users.after ● String scalar ​

Get only items after the cursor

IMSPermission.users.before ● String scalar ​

Get only items before the cursor

IMSPermission.users.filter ● GropiusUserFilterInput input ​

Filter for specific items in the connection

IMSPermission.users.first ● Int scalar ​

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

IMSPermission.users.last ● Int scalar ​

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

IMSPermission.users.orderBy ● [GropiusUserOrder!] list input ​

Order in which the items are sorted

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

Returned By ​

searchIMSPermissions query

Member Of ​

CreateIMSPermissionPayload object ● IMSPermissionConnection object ● IMSPermissionEdge object ● UpdateIMSPermissionPayload object

Released under the MIT License.