Overview
While trying to add a module with a custom role and it has edit permissions, the user is not able to add any modules.
Prerequisites
- A custom role has been created.
-
An administrator account for the site. Administrators have full permissions to the specific site.
-
The Superuser must install the extension package containing the module.
-
If the module is set as Premium, the Superuser must allow the site to use it.
Solution:
You need to assign the appropriate permissions for your custom role to deploy (add) a module to a page, this is done by using the Admin Extensions module:
- Navigate to Settings > Extensions
- Expand the modules section
- Click the Edit button next to the required module.
- From the module configuration tabs, go to Site Settings.
In the Can Deploy column, set the permissions for each role/username as follows:- Permission Granted: It means the role has been granted with permission to deploy this module.
- Not specified: This role/user is not able to deploy the module unless they belong to another role that has been granted with permission.
- Permission Denied: This role/user is unable to deploy the module, regardless of whether they belong to another role that has been granted with permissions.
- Check the Can Deploy box for your custom role.
- Click the Save & Close button.
- You need to repeat these steps for any modules that require
Testing
You can test that the custom role has sufficient permissions to add a module with the custom role by:
- Log into a user with a custom role.
- Go into edit mode for a page.
- Click add module.
You should be able to add the module you have provided permissions to for the custom role.
Comments
0 comments
Please sign in to leave a comment.