Setting Entitlements in AdapTable
Summary
- AdapTable permissioning is configured through Entitlements
- Each Module has an Access Level of
Full,ReadOnlyorHidden - Object-level
IsReadOnlycan lock a single object inside aFullModule - 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:
- Default Access Level — what applies when a Module is not listed
- Module Entitlements — explicit
Full/ReadOnly/Hiddenper Module - Object Entitlements —
IsReadOnlyon a single Adaptable Object - Technical Reference — Entitlement Options and API
Note
- Most Modules default to
Full - State Management defaults to
Hiddenand stays Hidden unless it is listed inmoduleEntitlements— settingdefaultAccessLeveltoFulldoes 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