共用方式為


RoleDefinition interface

角色定義屬性。

屬性

id

角色定義標識碼。

isServiceRole

如果這是服務角色。

name

角色定義名稱。

permissions

角色定義許可權。

scopes

角色定義可指派的範圍。

屬性詳細資料

id

角色定義標識碼。

id?: string

屬性值

string

isServiceRole

如果這是服務角色。

isServiceRole?: boolean

屬性值

boolean

name

角色定義名稱。

name?: string

屬性值

string

permissions

角色定義許可權。

permissions?: Permission[]

屬性值

scopes

角色定義可指派的範圍。

scopes?: string[]

屬性值

string[]