Skip to main content

Permission

This is a permission table

type Permission implements Node {
id: ID!
name: String!
type: PermissionTypeEnum!
createdAt: GQLTDate!
updatedAt: GQLTDate!
roles(
after: String
first: Int = 0
before: String
last: Int = 0
orderBy: [RolePermissionOrderBy] = []
where: GQLTQueryRolePermissionWhere
include: [GQLTRolePermissionIncludeObject] = []
): RolePermissionHasManyRolesList
}

Fields#

id (ID!)#

The ID of an object

name (String!)#

This is the permission name that will be displayed.

type (PermissionTypeEnum!)#

This is the selection of permission type.

createdAt (GQLTDate!)#

updatedAt (GQLTDate!)#

roles (RolePermissionHasManyRolesList)#

If provided it will return results after the provided cursor

If provided the results will be the first ${amount} of records from provided cursor, if a cursor is not provided the results will be the first ${amount} of records.

If provided it will return results before the provided cursor

If provided the results will be the first ${amount} of records from provided cursor, if a cursor is not provided the results will be the last ${amount} of records.

If provided this will sort the results by the supplied column and direction

Interfaces#

Node#

An object with an ID