• Resolved drb727

    (@drb727)


    We have been using the plugin Restrict User Access in our WP multisite network and have been having problems.

    It seems that the 3 websites that we are using Restrict User Access on are sharing ids with each other.

    Let me give a specific example with 2 of our sites. We have 2 access levels; “HR” and “Staff.”

    “HR”
    On site 1: post=4589
    On site 2: post=4727

    “Staff”
    On site 1: post=2748
    On site 2: post=1763

    The first manifestation of the problem in the list of all users (/wp-admin/users.php):

    On site 2,  I assign “Staff” to a user profile. When I look at that user, under the access level column, the Access levels shown are “Staff, Agapé Campus”, but it should only be “Staff.” Agapé Campus is not a User Access level.

    On site 2, when I hover over the access level “Agapé Campus,” I see revision=2748.

    On site 1, 2748 is the post id “Staff”

    On site 2, 2748 is a revision id of a post. This is not an access level.

    This is not what we should have (see highlights):

    This is what we should have (see highlights):

    The second manifestation of the problem is that an access level is removed from one site if it is added to another site.

    If I add access level “Staff” to a user on Site 2 (post=1763), then access level “Staff” disappears from the same user on site 1.

    I believe that this is because it thinks I am trying to add an access level (post=1763) for that user on site 1 also. However, this post id is already being used for something else on site 1 so it assigns what ever the id name is for that post id.

    In WP multisites, the users are shared across the sites, but their access levels should not be shared, they should be independent on each site.

    Is Restrict User Access supposed to be multisite compatible?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Joachim Jensen

    (@intoxstudio)

    Thank you for reporting this and providing all the details.

    You are correct that unfortunately RUA is not currently fully compatible with multisite.

    It is a top priority on the roadmap to refactor the way membership data is stored, which should solve this issue.

    Thread Starter drb727

    (@drb727)

    Thanks so much for getting back to me. Are you able to give me an estimated time that you are hoping to provide the update that will fix this issue?
    We need to decide if we are able to wait or if we need to find another solution.
    Thanks so much!

    Plugin Author Joachim Jensen

    (@intoxstudio)

    I spent some time fixing this here: https://github.com/intoxstudio/restrict-user-access/pull/43/files

    Since it is a major change, it will require some more testing before I include it in the plugin, but it is scheduled to be part of the next update.

    Unfortunately I cannot give an ETA on it, so if you need a solution asap, I would recommend trying to look elsewhere in the meantime.

    Thread Starter drb727

    (@drb727)

    Hello, Any better ideas when you might be able to do this? I will be working on this in about 2 weeks but I’d rather stay with you if it is close.

    Plugin Author Joachim Jensen

    (@intoxstudio)

    Can you get in touch via https://dev.institute/contact? Then I can send you the updated version before it becomes available here.

    Thread Starter drb727

    (@drb727)

    I have tried, but I need a license key in order to send you a message there.
    You can also just add a @gmail.com to my username.
    Let me know.

    Plugin Author Joachim Jensen

    (@intoxstudio)

    This has been fixed in version 2.5, thank you again for reporting this.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘User Access levels being shared across WP multisite network’ is closed to new replies.