CustomPermissionGroup
Last updated
Was this helpful?
Last updated
Was this helpful?
Represents a group of custom permissions for a Security Token
↳
↳ CustomPermissionGroup
Protected
context• id: BigNumber
• ticker: string
• uuid: string
▸ exists(): Promise‹boolean›
Determine whether this Custom Permission Group exists on chain
Returns: Promise‹boolean›
Retrieve the list of permissions and transaction groups associated with this Permission Group
Determine whether this Entity is the same as another one
Parameters:
entity
Returns: boolean
Modify the group's permissions
Parameters:
args
opts?
â–¸ toJson(): HumanReadable
Return the Group's ID
Returns: HumanReadable
Static
generateUuid▸ generateUuid‹Identifiers›(identifiers
: Identifiers): string
Generate the Entity's UUID from its identifying properties
Type parameters:
â–ª Identifiers
Parameters:
identifiers
Identifiers
Returns: string
Static
unserialize▸ unserialize‹Identifiers›(serialized
: string): Identifiers
Unserialize a UUID into its Unique Identifiers
Type parameters:
â–ª Identifiers
Parameters:
serialized
string
UUID to unserialize
Returns: Identifiers
• context:
Inherited from .
Defined in
Defined in
Inherited from .
Defined in
Inherited from .
Defined in
Overrides .
Defined in
▸ getPermissions(): Promise‹›
Overrides .
Defined in
Returns: Promise‹›
â–¸ isEqual(entity
: ‹unknown, unknown›): boolean
Inherited from .
Defined in
‹unknown, unknown›
â–¸ setPermissions(args
: , opts?
: ): Promise‹‹void››
Defined in
note
this method is of type , which means you can call setPermissions.checkAuthorization
on it to see whether the Current Account has the required permissions to run it
Returns: Promise‹‹void››
Overrides .
Defined in
Inherited from .
Defined in
Inherited from .
Defined in