Options
All
  • Public
  • Public/Protected
  • All
Menu

Module tools/permission

Index

Functions

Const permissionAdministrationsCheck

  • permissionAdministrationsCheck(user: undefined | IUtilisateur, administrationsIds: string[]): boolean
  • Parameters

    • user: undefined | IUtilisateur
    • administrationsIds: string[]

    Returns boolean

Const permissionCheck

  • permissionCheck(permissionId: undefined | null | IPermissionId, permissions: IPermissionId[]): boolean
  • Parameters

    • permissionId: undefined | null | IPermissionId
    • permissions: IPermissionId[]

    Returns boolean

Generated using TypeDoc