Resources

My Agape try

Your Agape try


Support Forum

You must be logged in to post Login Register

Search 
Search Forums:


 




Roles vs Restrictions?

UserPost

2:54 pm
August 3, 2011


ericamklein

Member

posts 2

1

I'm currently testing Role Scoper for use in a pilot implementation of Wordpress as a CMS for a University website, and I'm really struggling to understand the interaction between WP Roles and RS Roles, and between RS Roles and RS Restrictions.

The specific problem I'm having right now, is that I can't figure out how to grant a certain set of permissions to a user group, but adjust those permissions for a particular user within the group on a particular page or object. For example, we have some custom post types built into our installation of Wordpress to handle News and Events. I have a user group with permissions to read, edit,  and delete all content within those two post types, but would like a subset of those users to ONLY have access to News posts. Is that possible, or does it require an entirely separate user group?

What about the reverse, where a user is a member of a group with only read access on a post type, but I would like that one user to be able to edit as well as read? Is that possible?

If there are any additional documentation resources beyond the main user guide that would go into more detail about these settings, that would be really helpful… Otherwise anyone who would be willing to give me some guidance would be most welcome.

10:28 pm
August 4, 2011


Kevin

Admin

posts 2503

2

In general, roles (and their capabilites) are additive and Role Scoper lets you add them supplementally per-type (Roles > General), per-term (Roles > Categories) or per-post (Roles > Posts or edit form metaboxes). Role Scoper configuration will be most intuitive if you start with that mindset.

Restrictions are a way of invalidating a specified role which was assigned for a wider scope than that of the restriction. They apply to particular content but not to particular users. For example, by Restricting the "News Post Editor" role for a particular page, you prevent all non-Administrators from editing that page even if they have the appropriate capabilities in their WordPress role, General Role(s) or a Term-assigned role(s). Only those with the "News Post Editor" role assigned explicitly.

So your second scenario (a separate role group for News Post editing) is my suggestion.


About the Agapetry forum

Currently Online:

20 Guests

Maximum Online: 150

Forums:

Groups: 2

Forums: 7

Topics: 1249

Posts: 5659

Members:

There are 1261 members

There are 1 guests


Kevin has made 2503 posts

Top Posters:

metal450 - 178

Ragnar - 108

YikYak - 70

whiteorb - 49

Daisy - 35

Administrator: Kevin | Moderators: Kevin