ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Can EE handle granular member access?

February 01, 2011 11:31pm

Subscribe [5]
  • #1 / Feb 01, 2011 11:31pm

    DavidG

    46 posts

    We have a new job coming up that will require some member-level permissions. They want to give access to files and set configurations on a per member basis. We’re familiar with the member group permissions and know how to assign access via those controls. But could you in the member level set member A to have access to document X, Y and Z but member B only has access to document X?

    They also want to set “configurations” on a per member basis. Where they can say member A has a set of attributes (such as a list of services they currently use) and another set of attributes (services they don’t currently use).

    All of this needs to be done via the control panel and not with coding. They will also be registering new customers frequently so a simple set of conditionals for existing members wouldn’t work.

    I found one extension that sounded like it could work but it was for the older 1.6.x version and we will be using 2.0: http://utilitees.silenz.org/index.php/addons/software/restricted-area/

    If this can be done please let me know the general route you might take. Thanks for the help.

  • #2 / Feb 02, 2011 9:38am

    DavidG

    46 posts

    I think I was looking at this the wrong way - EE is an entry based system and is geared that way. So I’m thinking just create an entry for each member. Associate that entry with the member via a select box or somehow restrict permissions to just that member.

    Each piece of content is created individually- files, text, whatever. The entry for that member can pull in - via a relationship field or possibly Playa - any piece of content necessary. Creating checkboxes or other “configuration” options for services could be handled on the entry.

    Does this sound doable? Would this be easier to restrict an entry to a member instead of trying to create a lot of custom fields in the member profile?

  • #3 / Feb 02, 2011 11:03am

    Boyink!

    5011 posts

    If you set the member as author of the entry, then you can setup permissions that they can only see/edit entries that they have authored.

  • #4 / Feb 02, 2011 11:36am

    DavidG

    46 posts

    Excellent idea! Thanks.

  • #5 / Feb 02, 2011 2:21pm

    Brandon Jones

    5500 posts

    Thanks, Mike!

    Don’t hesitate with further questions, David.

  • #6 / Feb 03, 2011 2:46am

    Laisvunas

    879 posts

    Hi David,

    Using Category Rights and Weblog Rights add-ons you can set per-member access to weblogs (channels) and categories.

  • #7 / Feb 03, 2011 3:25pm

    Ingmar

    29245 posts

    Thanks, everybody. Does that clear it up for you, David?

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases