Skip to main content

RolePermission

This is a role permission table.

type RolePermission implements Node {
id: ID!
level: RolePermissionLevelEnum!
createdAt: GQLTDate!
updatedAt: GQLTDate!
permissionId: ID
roleId: ID
role: Role
permission: Permission
}

Fields#

id (ID!)#

The ID of an object

level (RolePermissionLevelEnum!)#

This is a selection of level of what role permission will be.

createdAt (GQLTDate!)#

updatedAt (GQLTDate!)#

permissionId (ID)#

The ID of an object

roleId (ID)#

The ID of an object

role (Role)#

role permisssion belongsTo role

permission (Permission)#

roler permission belongsTo permission

Interfaces#

Node#

An object with an ID