User Access levels being shared across WP multisite network
-
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=1763The 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?
The topic ‘User Access levels being shared across WP multisite network’ is closed to new replies.