| User | Post |
|
8:16 am November 4, 2010
| billyadams
Member
| | Norman, OK | |
|
| posts 3 |
|
|
After the most recent update to Role Scoper (I believe 1.3.1) all of my users besides the admins (just me) have lost the ability to see any posts whatsoever either on the backend or even on the site itself when they're logged in. I've looked at my set up of permissions in the options area and they are set correctly. My "Authors" are able to do everything that the WP authors are, except publish posts and delete published posts.
One of my users was set to "Editor" and I hadn't made any changes to that role whatsoever (even when as far as syncing the RS role with the WP role) and couldn't see any posts either place either.
When I deactivate Role Scoper, everything works fine, but the minute I reactivate it goes back to the same problem. Please help!!
|
|
|
8:21 am November 4, 2010
| billyadams
Member
| | Norman, OK | |
|
| posts 3 |
|
|
Just a quick update, I just downgraded back to 1.2.9 and it works just fine. So something in the new version (1.3) was buggy.
|
|
|
9:01 am November 4, 2010
| Kevin
Admin
| | | |
|
| posts 2503 |
|
|
This may not be quite what it appears. I was just about to ask you to try forcing a WP role re-sync as follows:
- Go to Roles > Options > RS Role Defs tab
- Check "Re-sync with WordPress roles on next Update"
- Click the Update button
But switching versions also triggers the re-sync, and I suspect that's what just corrected your site.
Role Scoper stores a record in its own table to track each user's WordPress role. I discovered that those were being re-inserted redundantly on each user registration or RS version change / re-activation. So the new code (both 1.2.9+ and 1.3+) runs a maintenance script on version update to delete and regenerate those records. Thought I could get away with that and it tested out okay for me, but it sounds like I will need to make it a manual operation.
Can you move back to 1.3 (at least temporarily) and let me know if your users have normal access with it now?
|
|
|
9:19 am November 4, 2010
| billyadams
Member
| | Norman, OK | |
|
| posts 3 |
|
|
I've upgraded to 1.3.1 and also set it to re-sync on next update. My user that I've been using to test still cannot see the posts.
|
|
|
8:36 am November 5, 2010
| Kevin
Admin
| | | |
|
| posts 2503 |
|
|
I haven't been able to recreate this error. If anyone else is seeing it, please let me know.
|
|
|
4:55 pm November 9, 2010
| alnitak
Member
| | | |
|
| posts 3 |
|
|
I'm seeing a similar problem. When I upgraded to the latest version from 1.2.9 my scoped users cannot publish posts. I reverted to back to 1.2.9 and still they can't publish. HELP!
CHeers,
Pete
|
|
|
7:39 pm November 9, 2010
| Kevin
Admin
| | | |
|
| posts 2503 |
|
|
alnitak said:
I'm seeing a similar problem. When I upgraded to the latest version from 1.2.9 my scoped users cannot publish posts. I reverted to back to 1.2.9 and still they can't publish. HELP!
CHeers,
Pete
This looks like a totally different issue from billyadams'. It actually stems from a bug in the previous version which your configuration was relying on. You had default Post Restrictions set for Post Contributor and Post Editor. That means nobody can edit or publish newly created posts unless they are explicitly assigned as an Editor for that particular post. However, default Post Restrictions were not applied to new posts in your previous version.
|
|
|
7:11 am December 3, 2010
| leggo-my-eggo
Member
| | | |
|
| posts 4 |
|
|
I'm having this problem too under 1.3.11, although my users can't see Pages, instead of posts, although that's likely because I tried using the "sync WP Editor to these selections" so that's probably why the difference. I have tried your suggestion to Re-sync with WordPress roles on next Update with no success.
It looks as if my WP Editor Role no longer has edit_page (etc.) capabilities. Does the plugin effect this?
How can I get back to my users being able to edit pages?
|
|
|
7:38 am December 3, 2010
| Kevin
Admin
| | | |
|
| posts 2503 |
|
|
Have you set any Restrictions on Pages or page-related taxonomies?
|
|
|
7:40 am December 3, 2010
| Kevin
Admin
| | | |
|
| posts 2503 |
|
|
Please take a look at Roles > Options > "RS Role Defs" and "WP Role Defs". Let me know of any difference between RS "Page Editor" and WP "Editor".
|
|
|
10:34 am December 3, 2010
| leggo-my-eggo
Member
| | | |
|
| posts 4 |
|
|
Well, interesting. When I try to check on restrictions to either Posts or Pages I get a note saying "Cheatin' uh?"
Under RS Role Defs -> Page Editor I've got:
Create Child… # Delete… # Delete Others… # Delete Private… # Delete Published… # Edit… # Edit Others… # Edit Private… # Edit Published… # Moderate Comments # Publish… # Read # Read Private… # Unfiltered Html # Upload Files
Under WP Role Defs -> Editor, I've got:
Delete Others Posts Delete Posts Delete Private Posts Delete Published Posts Edit Others Posts Edit Posts Edit Private Posts Edit Published Posts Manage Links Moderate Comments Publish Posts Read Read Private Posts Unfiltered Html Upload Files
|
|
|
10:43 am December 3, 2010
| Kevin
Admin
| | | |
|
| posts 2503 |
|
|
WP Editor doesn't show any page capabilities? If not, there's your problem.
|
|
|
10:47 am December 3, 2010
| Kevin
Admin
| | | |
|
| posts 2503 |
|
|
As for the "Cheatin, uh" on attempting to edit Page Restrictions, does your logged user have the edit_users capability?
|
|
|
6:58 pm December 3, 2010
| leggo-my-eggo
Member
| | | |
|
| posts 4 |
|
|
But WP Editor had page capabilities before I upgraded Role Scoper. That's my problem. Why did they go away? And how can I get them back?
And as for the "Cheatin', uh?" thing, I'm logged in as the Super-Admin, so yes, I do have edit_users capability.
|
|
|
9:21 pm December 3, 2010
| Kevin
Admin
| | | |
|
| posts 2503 |
|
|
For the WP Editor caps, it looks like Role Scoper's "sync WP Roles" action is malfunctioning for the Editor role. It's supposed to just sync post caps to your selections and leave other caps alone, but I can confirm that the current RS version (at least with WP 3.0.2 multisite) is clearing them on the sync request. I'll get that corrected shortly. Sorry about that, but at this point you'll have to use a basic role editor such as Capability Manager to reinstate the capabilities:
read_private_pages, edit_pages, edit_others_pages, edit_published_pages, edit_private_pages, delete_pages, delete_others_pages, delete_published_pages, delete_private_pages, publish_pages.
|
|
|
9:23 pm December 3, 2010
| Kevin
Admin
| | | |
|
| posts 2503 |
|
|
Regarding the Cheatin', uh, are you in the backend of a site for which you are not a registered Administrator (though you are a Super Admin)?
|
|
|
10:00 pm December 3, 2010
| Kevin
Admin
| | | |
|
| posts 2503 |
|
|
The Sync WP Editor bug is fixed in Role Scoper 1.3.13. To recover from it, re-save with "Sync WP Editor" checked for your "Page Editor" role definition.
If you prefer to apply the fix manually, edit plugins/role-scoper/submittee_rs.php as follows:
add:
$scoper->log_cap_usage( $scoper->role_defs, $scoper->cap_defs );
after:
foreach ( $_POST['sync_wp_roles'] as $sync_request ) {
|
|
|
9:46 am December 4, 2010
| leggo-my-eggo
Member
| | | |
|
| posts 4 |
|
|
Great, upgrading to 1.3.13 and sync'ing WP Editor worked.
I solved the "cheatin' uh?" issue by turning "Apply User Roles" back on under the advanced tab. I guess I had turned this off. Honestly, I'm entirely sure what it does. But it's fixed.
|
|