OCLOperators AccessGroupsEnable
Created by Charles on 2026-02-02 · Last edited by Colline.ssali on 2026-02-22.
AccessGroupsEnabled is an operator used to enable one or more access groups at runtime. It controls who is allowed to see or modify data and UI elements based on security groups defined in the model. This is not part of standard OCL.
Example:
Assume:
- You have an access group called
Managers - Sensitive data on
Departmentshould only be visible to managers
AccessGroupsEnable('Managers')Users who belong to the Managers access group are granted access to protected Department features
if self.IsActive then
AccessGroupsEnable('Managers')
endif