Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I've tried a bunch of different plugins, including Role Scoper, Advanced Access Manager, User Account Manager and more, to accomplish this but can't seem to get it working right.

Basically, the company has multiple departments and each department has a parent page + sub pages off the 'Main Page'. For example, the 'conference services' department has a page called 'conference services' and several child pages.

I need to be able to create a group of users who are 'conference services editors' and when they go to pages they should only see the parent page 'conference services' and any subpages. (as well, they should only see posts under the category 'conference services')

Is this possible with one install?

Thanks, Thomas

share|improve this question
    
Can you explain how did you tried to implement this plugins? You don't mention if this is supposed to happen in the back or the front end. Check this search results. –  brasofilo Apr 11 '13 at 20:54
    
Pretty sure you can do this with Role Scoper, but admittedly that isn't the most intuitive or friendliest of plugins. –  vancoder Apr 11 '13 at 21:45
    
@vancoder correct - you can do it, but it's not the friendliest plugin. I've figured it out - but it's not exactly intuitive, finally working though. –  tsdexter Apr 12 '13 at 20:09
add comment

1 Answer 1

To get this working I had to do a couple of things:

  1. Default all pages/posts/categories 'revisor' (via Revisionary plugin) users to be restricted to 'WP_Administrators'
  2. Create a "User Group" for each department ie: 'Conference Services Revisors'.
  3. When the parent page for a department is created change the 'Revisors' restriction on pages/posts/categories from 'WP_Administrators' to the User Group of that department ie: 'Conference Services Revisors' and selecte 'All pages/subpages'/'categories/sub categories' etc
  4. Add all revisor users from each department to their respective User Group

So far this seems to be working as intended. Conference Services users only see/have access to conference services parent page and sub pages - as well as posts and all of the custom post types I've created as well.

The only issue I have now is that when adding new pages, either because their revisors or because of the restrictions they can't select a parent page - this is not a huge issue it just means that when an admin is reviewing the new page before publishing they have to remember to add the parent page of the proper department.

And a similar issue with posts, when they add a new post they have the ability to selected any categories they want to attach to the post even though I've restricted them to only their parent/child categories (restricted for seeing/editing posts but not assigning the categories to new posts). The potential problem with this is that they can select 'featured news' which would put their story onto the main page when maybe it shouldn't be or into any other departments feeds as well. Again, because of the revisionary plugin this is not a huge issue as long as administrators remember to ensure only correct categories are selected before publishing.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.