Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ModelPermissionManager

Hierarchy

  • ModelPermissionManager

Index

Accessors

modelId

  • get modelId(): string
  • Returns string

Methods

getAllUserPermissions

getOverridesCollection

  • getOverridesCollection(): Promise<boolean>
  • Returns Promise<boolean>

getPermissions

getUserPermissions

getWorldPermissions

removeUserPermissions

  • removeUserPermissions(username: string): Promise<void>
  • Parameters

    • username: string

    Returns Promise<void>

setAllUserPermissions

  • setAllUserPermissions(permissions: object): Promise<void>
  • setAllUserPermissions(permissions: Map<string, ModelPermissions>): Promise<void>
  • Parameters

    Returns Promise<void>

  • Parameters

    Returns Promise<void>

setOverridesCollection

  • setOverridesCollection(overrideWorld: boolean): Promise<void>
  • Parameters

    • overrideWorld: boolean

    Returns Promise<void>

setUserPermissions

  • setUserPermissions(username: string, permissions: ModelPermissions): Promise<void>
  • Parameters

    Returns Promise<void>

setWorldPermissions