Skip to main content

RoleData

No description

type RoleData {
id: ID!
code: ID!
type: RoleType!
isEditable: Boolean!
label: String
isCreate: Boolean!
isRead: Boolean!
isUpdate: Boolean!
isDelete: Boolean!
isEnable: Boolean!
isExecutable: Boolean!
isSpecial: Boolean!
special: String
resources(
codes: [ID!]
first: Int
last: Int
before: String
after: String
): ResourceConnection
}

Fields

RoleData.id ● ID! non-null scalar

RoleData.code ● ID! non-null scalar

RoleData.type ● RoleType! non-null enum

RoleData.isEditable ● Boolean! non-null scalar

RoleData.label ● String scalar

RoleData.isCreate ● Boolean! non-null scalar

Has resource Create permission?

RoleData.isRead ● Boolean! non-null scalar

Has resource Create permission?

RoleData.isUpdate ● Boolean! non-null scalar

Has resource Update permission?

RoleData.isDelete ● Boolean! non-null scalar

Has resource Delete permission?

RoleData.isEnable ● Boolean! non-null scalar

Is role enabled or not?

RoleData.isExecutable ● Boolean! non-null scalar

Has resource Executable permission?

RoleData.isSpecial ● Boolean! non-null scalar

Has any other non-basic permission/s?

RoleData.special ● String scalar

Special permission

RoleData.resources ● ResourceConnection object

Resources used

RoleData.resources.codes ● [ID!] list scalar
RoleData.resources.first ● Int scalar
RoleData.resources.last ● Int scalar
RoleData.resources.before ● String scalar
RoleData.resources.after ● String scalar

Member Of

Role object