Setting Entitlements in AdapTable

View as Markdown

Summary

  • AdapTable permissioning is configured through Entitlements
  • Each Module has an Access Level of Full, ReadOnly or Hidden
  • Object-level IsReadOnly can lock a single object inside a Full Module
  • Entitlements are UI constructs — Initial State and the AdapTable API bypass them

AdapTable uses Entitlements so run-time users only see and edit the Modules and Adaptable Objects they are allowed to.

The pages in this section follow that pipeline:

  1. Default Access Level — what applies when a Module is not listed
  2. Module Entitlements — explicit Full / ReadOnly / Hidden per Module
  3. Object Entitlements — IsReadOnly on a single Adaptable Object
  4. Technical Reference — Entitlement Options and API

Note

  • Most Modules default to Full
  • State Management defaults to Hidden and stays Hidden unless it is listed in moduleEntitlements — setting defaultAccessLevel to Full does not unhide it

Caution

Objects provided in Initial Adaptable State or accessed via Adaptable API bypass Entitlements entirely

Hint

Wrap API calls that should honour a Module Entitlement:

if (adaptableApi.entitlementApi.getEntitlementAccessLevelForModule('Layout') === 'Full') {
  // Layout API calls here
}
Permissions

Default Access Level


The Access Level used when a Module has no explicit Entitlement (Full unless you change it)

Permissions

Permissioning Modules


Set moduleEntitlements as a list or a function, plus what ReadOnly means per Module

Permissions

Permissioning Objects


Mark individual Adaptable Objects IsReadOnly so they cannot be edited inside a Full Module

Permissions

Technical Reference


Entitlement Options and Entitlement API