Skip to main content

Role

This is a role table.

type Role implements Node {
id: ID!
name: String!
groupRestricted: Boolean!
createdAt: GQLTDate!
updatedAt: GQLTDate!
users(
after: String
first: Int = 0
before: String
last: Int = 0
orderBy: [UserOrderBy] = []
where: GQLTQueryUserWhere
include: [GQLTUserIncludeObject] = []
): UserHasManyUsersList
permissions(
after: String
first: Int = 0
before: String
last: Int = 0
orderBy: [RolePermissionOrderBy] = []
where: GQLTQueryRolePermissionWhere
include: [GQLTRolePermissionIncludeObject] = []
): RolePermissionHasManyPermissionsList
itemPermissions(
after: String
first: Int = 0
before: String
last: Int = 0
orderBy: [RoleItemPermissionOrderBy] = []
where: GQLTQueryRoleItemPermissionWhere
include: [GQLTRoleItemPermissionIncludeObject] = []
): RoleItemPermissionHasManyItemPermissionsList
}

Fields#

id (ID!)#

The ID of an object

name (String!)#

This is the name of the role that will be displayed.

groupRestricted (Boolean!)#

createdAt (GQLTDate!)#

updatedAt (GQLTDate!)#

users (UserHasManyUsersList)#

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

permissions (RolePermissionHasManyPermissionsList)#

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

itemPermissions (RoleItemPermissionHasManyItemPermissionsList)#

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