KnownPermissionGroup
Represents a pre-defined group of permissions for an Asset
Hierarchy
↳ KnownPermissionGroup
Index
Properties
Methods
Properties
asset
• asset: Asset
Inherited from PermissionGroup.asset
Defined in src/api/entities/PermissionGroup.ts:19
Asset for which this group specifies permissions
Protected
context
Protected
context• context: Context
Inherited from CheckpointSchedule.context
Defined in src/api/entities/Entity.ts:48
type
• type: PermissionGroupType
Defined in src/api/entities/KnownPermissionGroup.ts:30
uuid
• uuid: string
Inherited from CheckpointSchedule.uuid
Defined in src/api/entities/Entity.ts:46
Methods
exists
▸ exists(): Promise‹boolean›
Defined in src/api/entities/KnownPermissionGroup.ts:90
Determine whether this Known Permission Group exists on chain
Returns: Promise‹boolean›
getPermissions
▸ getPermissions(): Promise‹GroupPermissions›
Overrides PermissionGroup.getPermissions
Defined in src/api/entities/KnownPermissionGroup.ts:46
Retrieve the Permissions associated with this Permission Group
Returns: Promise‹GroupPermissions›
isEqual
▸ isEqual(entity
: Entity‹unknown, unknown›): boolean
Inherited from CheckpointSchedule.isEqual
Defined in src/api/entities/Entity.ts:61
Determine whether this Entity is the same as another one
Parameters:
Returns: boolean
toJson
▸ toJson(): HumanReadable
Defined in src/api/entities/KnownPermissionGroup.ts:97
Return the KnownPermissionGroup's static data
Returns: HumanReadable
Static
generateUuid
Static
generateUuid▸ generateUuid‹Identifiers›(identifiers
: Identifiers): string
Inherited from CheckpointSchedule.generateUuid
Defined in src/api/entities/Entity.ts:14
Generate the Entity's UUID from its identifying properties
Type parameters:
▪ Identifiers
Parameters:
Returns: string
Static
unserialize
Static
unserialize▸ unserialize‹Identifiers›(serialized
: string): Identifiers
Inherited from CheckpointSchedule.unserialize
Defined in src/api/entities/Entity.ts:23
Unserialize a UUID into its Unique Identifiers
Type parameters:
▪ Identifiers
Parameters:
Returns: Identifiers
Last updated