You may have different types of users with varied skills that work with Adaptive Forms. While expert users may have the right knowledge to work with scripts and complex rules, there may be basic-level users who need to work only with the layout and basic properties of adaptive forms.
AEM Forms allows you to limit rule editor access to users based on their role or function. In the Adaptive Forms Configuration Service settings, you can specify the user groups that can view and access rule editor.
In Web Console Window, locate and click Adaptive Form Configuration Service. Adaptive Form Configuration Service dialog appears. Do not change any value and click Save.
It creates a file /apps/system/config/com.adobe.aemds.guide.service.impl.AdaptiveFormConfigurationServiceImpl.config in CRX-repository.
Use the following property to specify the name of a group that can access rule editor (For example, RuleEditorsUserGroup) and click Save All.
To enable access for mutiple groups, specify a list of comma seperated values:
Now, when a user that is not a part of the a specified user group (here RuleEditorsUserGroup) taps a field, the Edit Rule icon () is not available for her in the components toolbar:
For instructions on adding users to groups, see User Administration and Security.