Permissions
ConsentFriend has the following permissions for manager users:
| Permission | Description |
|---|---|
| consentfriend_manage | [Since 1.10.0] To create, update, sort, remove and import the services and purposes, to assign the services to contexts and to empty and clean the statistics. |
| consentfriend_settings | [Since 1.10.0] To edit, export and import the ConsentFriend system settings in the settings tab of the ConsentFriend custom manager page. |
Instead of the consentfriend_settings permission, the MODX settings
permission can be used, too. The config import needs the consentfriend_manage
permission and one of these settings permissions, because it replaces the
services, the purposes and the system settings.
Without the consentfriend_manage permission, the ConsentFriend custom manager
page and the dashboard widget are read only: The buttons to create, import and
remove entries, the context menus, the inline editing and the drag and drop
sorting are not displayed.
The permission check is not executed for sudo users.
Access policies
The installation creates the access policy template ConsentFriendTemplate
with both permissions and the following access policies:
| Access Policy | consentfriend_manage | consentfriend_settings |
|---|---|---|
| ConsentFriend | Yes | No |
| ConsentFriend Admin | Yes | Yes |
The ConsentFriend Admin access policy is assigned to the Administrator user
group in the mgr context during the installation. To give other manager users
access, assign one of the access policies to their user group in the mgr
context in the Access Control Lists of the user group.