Options
All
  • Public
  • Public/Protected
  • All
Menu

Capabilities is a collection of bit flags. To test if a capability is set, you can do something like

const requiredCaps = (Capabilities.Read | Capabilities.Delegate);
caps & requiredCaps === requiredCaps;

Index

Enumeration members

Enumeration members

Delegate

Delegate: = 4

The ability to delegate this grant's capabilities to someone else.

None

None: = 0

Read

Read: = 1

The ability to read/view the target.

Generated using TypeDoc