Forum Replies Created
-
AuthorPosts
-
12/03/2026 at 07:49 in reply to: Multisite – Capabilities reset when restricting access to a plugin #8964
Vladimir
KeymasterWorkaround: Do not use add-on related buttons ‘Meta Boxes’, ‘Other Roles’, ‘Post Edit’, ‘Plugins’ and ‘Import’ under ‘Network Admin->Users->User Role Editor’.
Under the main site of the multi-site network (top level domain site) these buttons work as expected, as under any other single site/subsite. The issue is related to the ‘Network Admin’ level only.
‘Update Network’ button works as expected, while you don’t wipe capabilities from user role(s) using add-on buttons from the list above.
Modules data update part should be refactored to get full compatibility with use under the Network admin. I will do it until April 9, 2026, to publish URE Pro updated version before WordPress 7.0 release.
Vladimir
KeymasterHi Jess,
Did you solve the described problem with MemberPress automatic redirection to front-end which blocks access to wp-admin for user with custom role and non-member? URE Pro can not solve this via existing functionality, but I could try to help with a piece of code.
09/03/2026 at 04:12 in reply to: Multisite – Capabilities reset when restricting access to a plugin #8961Vladimir
KeymasterThe issue was reproduced. I investigate it and work on a fix.
Vladimir
KeymasterHi Jess,
As MemberPress is not available at wordpress.org, can you share its copy (Google Drive, etc.) for testing/investigation, how allow selected user role ignore wp-admin access restriction from MemberPress?
Vladimir
KeymasterSEOPress plugin manages own capabilities itself via own capabilities manager: SEO->Advanced->Security
It executes related code every page load via WordPress ‘init’ action and rewrites seopress capabilities roles distribution from the scratch every time. So Yes, URE updates user role, but SEOPress rewrites it every time according to its own data.Try to use SEOPress own user role/capabilities manager or switch off SEOPress capabilities manager removing somehow it from WP init hook:
wp-content/plugins/wp-seopress/src/Actions/CustomCapabilities.php, line #40.Vladimir
KeymasterHi,
“view_admin_dashboard” is right ID for this capability. It doesn’t exist by default. If you don’t see it, create it yourself. Btw., ‘read’ capability is required for access to wp-admin by default by WordPress itself also.
Vladimir
KeymasterURE Pro does not have such (permanent) effect, when you turn OFF the view access add-on or more – deactivate plugin. I suppose that some another settings / plugin is involved.
Can you try to deactivate all plugins make another test and then isolate a problem activating plugins back one by one with new test after every activated plugin?Vladimir
KeymasterExcellent! Thanks for the feedback.
Vladimir
KeymasterTry this workaround:
1) Go to Users->User Role Editor, select station_team role and grant temporally the ‘edit_theme_options’ capability to this role.
2) Go to admin menu Divi->Role Editor, select ‘station_team’ role and turn ON the “Theme builder” option at the top.
3) Go to Users->User Role Editor, select station_team role and revoke the ‘edit_theme_options’ capability from this role.Vladimir
KeymasterThanks. See now. I will test and search the solution.
Vladimir
KeymasterGot it, thanks. What user role to test?
Vladimir
KeymasterIs it applicable for you provide admin access in order I can look at the issue on-line?
If Yes, send credentials to support [at-sign] role-editor.comVladimir
KeymasterIs ‘upload_files’ granted to this role?
Test if ‘edit_posts’, ‘edit_published_posts’ will help, also.
Look for the JavaScript error messages in the browser JS console after trying to upload image via Divi Image module.Vladimir
Keymasterwordpress.org/plugins/google-analytics-for-wordpress plugin has ‘Permissions’ tab at its Settings page. You can set there which user role can: 1) see reports; 2) save settings. You can exlude some user role from tracking.
Universal user capability for access to all functions of this plugin is ‘manage_options’.
Vladimir
KeymasterHi,
I don’t know the needed capability. If applicable for you to share YR plugin .zip, I can investigate what permissions are needed for it.
-
AuthorPosts