Preparing search index...
The search index is not available
A38
A38
@a38/core
RoleManager
Class RoleManager
Hierarchy
ChildNode
<
Role
,
SerializedRoles
>
RoleManager
Index
Constructors
constructor
Properties
assert
Entry
Id
parents
Methods
add
Parents
get
Parents
get
Parents
Recursive
has
importJSON
set
Parents
toJSON
Constructors
constructor
new
Role
Manager
(
)
:
RoleManager
Returns
RoleManager
Properties
Protected
assert
Entry
Id
assert
Entry
Id
:
(
(
roleOrId
:
string
|
Role
)
=>
string
)
= assertRoleId
Protected
parents
parents
:
Map
<
string
,
string
[]
>
= ...
Methods
add
Parents
add
Parents
(
entryOrId
,
parents
)
:
void
Parameters
entryOrId
:
string
|
Role
parents
:
string
[]
Returns
void
get
Parents
get
Parents
(
entryOrId
)
:
(
string
|
Role
)
[]
Parameters
entryOrId
:
string
|
Role
Returns
(
string
|
Role
)
[]
get
Parents
Recursive
get
Parents
Recursive
(
entryOrId
)
:
string
[]
Parameters
entryOrId
:
string
|
Role
Returns
string
[]
has
has
(
entryOrId
)
:
boolean
Parameters
entryOrId
:
string
|
Role
Returns
boolean
importJSON
importJSON
(
json
)
:
RoleManager
Parameters
json
:
unknown
Returns
RoleManager
set
Parents
set
Parents
(
entryOrId
,
parents
)
:
string
[]
Parameters
entryOrId
:
string
|
Role
parents
:
string
[]
Returns
string
[]
toJSON
toJSON
(
)
:
SerializedRoles
Returns
SerializedRoles
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
assert
Entry
Id
parents
Methods
add
Parents
get
Parents
get
Parents
Recursive
has
importJSON
set
Parents
toJSON
A38
Loading...