Variable effectivePermissionsConst

effectivePermissions: {
    admin: PermissionTypes;
    del: PermissionTypes;
    insert: PermissionTypes;
    read: PermissionTypes;
    readOwn: PermissionTypes;
    update: PermissionTypes;
} = ...

A map of commonly used effective permissions supported in the LabKey Server. You can use these values with the hasEffectivePermission() method to test if a user or group has a particular permission. The values in this map are as follows:

  • read
  • insert
  • update
  • del
  • readOwn

Use PermissionTypes instead. For example, to refer to the update permission, the syntax would be:

LABKEY.Security.effectivePermissions.update