Skip to content

CreateComponentPermissionInput

Input for the createComponentPermission mutation

graphql
input CreateComponentPermissionInput {
  allUsers: Boolean!
  description: String!
  entries: [ComponentPermissionEntry!]!
  name: String!
  nodesWithPermission: [ID!]!
  users: [ID!]!
}

Fields

CreateComponentPermissionInput.allUsers ● Boolean! non-null scalar

If true, the created BasePermission affects all users

CreateComponentPermissionInput.description ● String! non-null scalar

The description of the BasePermission

CreateComponentPermissionInput.entries ● [ComponentPermissionEntry!]! non-null enum

The initial entries of the created ComponentPermission

CreateComponentPermissionInput.name ● String! non-null scalar

The name of the BasePermission, must not be blank

CreateComponentPermissionInput.nodesWithPermission ● [ID!]! non-null scalar

The id of nodes the created permission affects.

CreateComponentPermissionInput.users ● [ID!]! non-null scalar

Ids of GropiusUsers this BasePermission affects

Member Of

createComponentPermission mutation

Released under the MIT License.