Grant rule editor access to select user groups
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.
Specify user groups that can access rule editor
- Log in to AEM Forms as an administrator.
- In the author instance, click Adobe Experience Manager > Tools > Operations > Web Console. The Web Console opens in a new window.
- 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.
- Log in to CRXDE as an administrator. Open file /apps/system/config/com.adobe.aemds.guide.service.impl.AdaptiveFormConfigurationServiceImpl.config for editing.
- Use the following property to specify the name of a group that can access rule editor (For example, RuleEditorsUserGroup) and click Save All .af.ruleeditor.custom.groups=["RuleEditorsUserGroup"]To enable access for mutiple groups, specify a list of comma seperated values:af.ruleeditor.custom.groups=["RuleEditorsUserGroup", "PermittedUserGroup"]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:Components toolbar as visible to a user with rule editor accessComponents toolbar as visible to a user without rule editor accessFor instructions on adding users to groups, see User Administration and Security .