ComponentPermission
NodePermission to grant specific permissions to a set of Components.
type ComponentPermission implements BaseNode, BasePermission, Named, NamedNode, Node {
  allUsers: Boolean!
  description: String!
  entries: [ComponentPermissionEntry!]!
  hasPermission(
    permission: AllPermissionEntry
  ): Boolean!
  id: ID!
  name: String!
  nodesWithPermission(
    after: String
    before: String
    filter: ComponentFilterInput
    first: Int
    last: Int
    orderBy: [ComponentOrder!]
    skip: Int
  ): ComponentConnection!
  users(
    after: String
    before: String
    filter: GropiusUserFilterInput
    first: Int
    last: Int
    orderBy: [GropiusUserOrder!]
    skip: Int
  ): GropiusUserConnection!
}
Fields
ComponentPermission.allUsers ● Boolean! non-null scalar
If, the permission is granted to all users. Use with caution.
ComponentPermission.description ● String! non-null scalar
The description of this entity.
ComponentPermission.entries ● [ComponentPermissionEntry!]! non-null enum
All permissions this Permission grants
ComponentPermission.hasPermission ● Boolean! non-null scalar
Checks if the current user has a specific permission on this Node
ComponentPermission.hasPermission.permission●AllPermissionEntryenumThe permission to check for
ComponentPermission.id ● ID! non-null scalar
The unique id of this node
ComponentPermission.name ● String! non-null scalar
The name of this entity.
ComponentPermission.nodesWithPermission ● ComponentConnection! non-null object
Nodes on which the Permission is granted.
ComponentPermission.nodesWithPermission.after●StringscalarGet only items after the cursor
ComponentPermission.nodesWithPermission.before ● String scalar
Get only items before the cursor
ComponentPermission.nodesWithPermission.filter ● ComponentFilterInput input
Filter for specific items in the connection
ComponentPermission.nodesWithPermission.first ● Int scalar
Get the first n items. Must not be used if before is specified
ComponentPermission.nodesWithPermission.last ● Int scalar
Get the last n items. Must not be used if after is specified
ComponentPermission.nodesWithPermission.orderBy ● [ComponentOrder!] list input
Order in which the items are sorted
ComponentPermission.nodesWithPermission.skip ● Int scalar
Skips n items. First or last MUST be specified, is otherwise ignored
ComponentPermission.users ● GropiusUserConnection! non-null object
GropiusUsers granted this Permission
ComponentPermission.users.after●StringscalarGet only items after the cursor
ComponentPermission.users.before ● String scalar
Get only items before the cursor
ComponentPermission.users.filter ● GropiusUserFilterInput input
Filter for specific items in the connection
ComponentPermission.users.first ● Int scalar
Get the first n items. Must not be used if before is specified
ComponentPermission.users.last ● Int scalar
Get the last n items. Must not be used if after is specified
ComponentPermission.users.orderBy ● [GropiusUserOrder!] list input
Order in which the items are sorted
ComponentPermission.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
searchComponentPermissions  query
Member of
ComponentPermissionConnection  object ● ComponentPermissionEdge  object
Implemented by
TrackablePermission  union