Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Permission

Hierarchy

Index

Constructors

Properties

Methods

Constructors

constructor

  • new Permission(allow: number, deny: number): Permission
  • Parameters

    • allow: number
    • deny: number

    Returns Permission

Properties

allow

allow: number

deny

deny: number

json

json: {}

Type declaration

  • [s: string]: boolean

Methods

has

  • has(permission: string): boolean
  • Parameters

    • permission: string

    Returns boolean

Generated using TypeDoc