Change WordPress user roles and capabilities Forums Bug Reports Multisite – Capabilities reset when restricting access to a plugin

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #8805
    ecuweb
    Participant

    On 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!

    #8806
    Vladimir
    Keymaster

    Take 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.

    #8818
    Channel Digital
    Participant

    Also 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).

    #8820
    Channel Digital
    Participant

    This 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.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.