Options
All
  • Public
  • Public/Protected
  • All
Menu

Module security

Index

Functions

getAttributePermission

  • Define which type of attribute render allowed for user

    Parameters

    • entityName: string

      CUBA model entity

    • attributeName: string
    • Optional perms: EffectivePermsInfo

      user effective permissions

    Returns EntityAttrPermissionValue

    attribute could be not allowed to display (DENY), allowed for modification (MODIFY) or allowed in read only mode (VIEW).

isOperationAllowed

  • Define if operation (one of CRUD) on entity allowed or not for user

    Parameters

    Returns boolean

isSpecificPermissionGranted

Generated using TypeDoc