Change WordPress user roles and capabilities › Forums › Bug Reports › Multisite – Capabilities reset when restricting access to a plugin
- This topic has 3 replies, 3 voices, and was last updated 1 week, 3 days ago by
Channel Digital.
-
AuthorPosts
-
17/02/2025 at 14:46 #8805
ecuweb
ParticipantOn a multisite setup, when we try to restrict access to a plugin following the instructions: https://www.role-editor.com/documentation/restrict-plugins-available-for-activation-deactivation/
It works but it also wipes the capabilities out for that user group and we have to reset those anytime we make an update to the plugin access piece.
This only seems to happen at the network level in the admin, if we go into a single site and make the change the capabilities are not modified.
Any ideas on what could be causing this? Thanks in advance!
18/02/2025 at 11:52 #8806Vladimir
KeymasterTake into account that when you click “Update Network” at “Network Admin->Users->User Role Editor” URE overwrites user roles and add-ons settings data made for those roles for all subsites with user roles and add-ons settings data taken from the main site. Every site has the same roles and add-ons settings after this operations.
I suppose this explains why you lose the role(s) capabilities at the subsite level after the “Network Update” usage. This operation is for exact replication of main site roles data to all subsites.
13/03/2025 at 12:20 #8818Channel Digital
ParticipantAlso having this problem. @Vladimir – have sent the details via the contact form because I forgot to check the forum.
Replicate: Network Admin > Users > User Role Editor > duplicate Administrator role > click Plugins in right hand menu to open “Allow manage plugins”, click Update button in the modal (make selections or don’t, it doesn’t make a difference) > all capabilities are wiped for the role.
Note that you don’t have to click the main Update or Update Network button to see this bug, the Update button in the “Allow manage plugins” wipes the capabilites and saves the role (refreshing the page or switching between roles demonstrates that).
17/03/2025 at 13:12 #8820Channel Digital
ParticipantThis also happens when trying to use “Other Roles” as well.
There seems to be a conflict with the Redis Object Cache plugin (by Till Krüss) as well. We cannot add users while both the Redis and URE plugins are active, and attempting to change the capabilities across the network is painful (constantly flushing the object cache across all sites) or just doesn’t work.
This is also the case on a completely different multisite on a completely different server that doesn’t use the Redis plugin, it uses SiteGround’s own plugin and caching configuration.
-
AuthorPosts
- You must be logged in to reply to this topic.