Resources

My Agape try

Your Agape try


Support Forum

You must be logged in to post Login Register

Search 
Search Forums:


 




Editors can publsih pages even with revoked rights

UserPost

3:57 pm
December 14, 2009


rzen

Member

posts 2

1

Hey Kevin, I did a quick search and couldn't uncover a solution, but if you've already addressed this I apologize.

Post Editor and Page Editor roles are identical (in Roles > Options > RS Role Definitions). Users should be able edit published posts/pages but NOT publish new posts/pages. While this works correctly for posts, users can still publish new pages straight to live site. All users are WP Editors because they need to be able to see/edit other's pages/posts. Thoughts?


Another developer and myself have been banging our heads against the wall for a couple days, we're certain it has to be something simple. We are at your mercy :)


Screenshots for piece of mind:

8:01 pm
December 14, 2009


Kevin

Admin

posts 2402

2

rzen said:

Post Editor and Page Editor roles are identical (in Roles > Options > RS Role Definitions). Users should be able edit published posts/pages but NOT publish new posts/pages. While this works correctly for posts, users can still publish new pages straight to live site. All users are WP Editors because they need to be able to see/edit other's pages/posts. Thoughts?


The RS Role Definitions affect what capabilities users get when you assign them supplemental roles (General, Category, Post or Page Roles). The RS Role Defs also affect how Restrictions get applied to blog-wide WP roles.

But removing capabilities from the RS Role Defs does not, in itself, affect your users' blog-wide WP role. If you want to take some capabilities away from all Editors, you should modify that WP Role Def directly. You can do so with Capability Manager. The newly minted Role Scoper 1.1-RC1 also adds the option to synchronize RS and WP roles, making the RS Role Defs tab work more like what you may have envisioned.

From what you've told me of your implementation, the simplest configuration would:

  • Use Cap Manager to strip the WP Editor role down to nothing but the "read" capability (although capabilites unrelated to Posts/Pages don't matter)
  • Use Roles > Pages to give the [WP Editor] group a Page Editor role for every existing page. Be sure to set assignment mode to "Selected and sub-pages"
  • Repeat for posts

If for some reason you must keep the WP Editor role intact, your end goal can also be accomplished by setting a default Restriction on the Page Contributor, Page Author and Page Editor roles (and likewise for Posts). But then you don't have the safe default fallback of zero editing access if Role Scoper gets deactivated.

8:29 am
December 15, 2009


rzen

Member

posts 2

3

The RS groups have been set as exclusive editors for all pages (and posts) because the other facet of what we're doing is only allowing specfic groups to see specific areas.


Thanks for the feedback, if you don't hear back from me again it worked :)


About the Agapetry forum

Currently Online:

17 Guests

Maximum Online: 150

Forums:

Groups: 2

Forums: 7

Topics: 1186

Posts: 5409

Members:

There are 1176 members

There are 1 guests


Kevin has made 2402 posts

Top Posters:

metal450 - 159

Ragnar - 105

YikYak - 70

whiteorb - 44

Daisy - 35

Administrator: Kevin | Moderators: Kevin