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.

Looking for some feedback on how best to set up access to specific pages.

January 29, 2011 4:51pm

Subscribe [2]
  • #1 / Jan 29, 2011 4:51pm

    JulesWebb

    271 posts

    Hello,

    I’m looking for a way to set up several pages with specific access requirements.  I’ve outlined my situation below and am hoping for some feedback on my logic and what the best approach might be.

    What I currently have set up
    12 local areas, each have their own webpage.
    A channel “Local Areas” and a matching template group with the same name.
    Within the Template group “Local Areas” I have a template for each area.
    Using the pages module I have set up a “page” for each area

    What I need
    Each area director to be able to login and update their own area page.
    Have it set up so they can only see/have access to their own local area page.
    remove the ability to add a new entry

    Concerns
    The way it is currently set up each director will be able to see and edit his own as well as any of the other areas.  They can also add a new entry

    Possible solution
    I could create a separate channel for each local area
    Each local area director can have his own membership group with Channel Assignment set so they can post and edit entries in their local area channel.  BUT since this is a page and there are no other entries to add how do I prevent “posting” a new page?
    I am assuming that I could continue to keep the same template group setup.

    Any thoughts or ideas would be so appreciated!

    Cheers!
    Jules

  • #2 / Jan 31, 2011 2:08am

    John Henry Donovan

    12339 posts

    Jules,

    Your set-up sounds ok in theory. If it was me I would keep the directors away from the backend.
    First of all assign each page entry to an author being the director

    I would then use SafeCracker to create a stand alone entry form so they can edit an entry.

    You can limit it to just the author of the entry and also specific the entry_id or url_title to be edited.

    Does that help?

    Moving this thread to the General Discussion as more appropriate

  • #3 / Jan 31, 2011 2:39am

    JulesWebb

    271 posts

    First of all assign each page entry to an author being the director

    And then just update the entry author as directors change?

    You can limit it to just the author of the entry and also specific the entry_id or url_title to be edited.

    Would I be setting up a page for each director to do updates or will I be able to do conditional statements depending on logged in director?


    Is it possible to use membership group ID instead of Author? I’ve already set up separate membership groups for each director (this was done for other reasons, but it would be nice to use it for this situation as well)

    SafeCracker is already on my list, so that will be no problem

    Thanks for feedback!

    Jules

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

ExpressionEngine News!

#eecms, #events, #releases