This project is read-only.

Page / Content Permissions

Topics: Developer Forum
Apr 18, 2008 at 5:02 AM
Is it possible to make a page viewable by everyone & Editors but only editable by an Administrator. I'd like to give the Editors access to edit certain content items but when I change the item's permissions it makes the item only visible to Administrators. It seems like there needs to be several types of permissions for viewing, editing and creating new content item. Is it possible to implement such a permission system in N2 by extending the current framework?
Apr 18, 2008 at 4:08 PM
If you're looking for something seamless within the interface it probably requries more changes to the interface (I don't think extending is enough). You probably could subscribe to events and throw exceptions.

Another alternative might be creating a custom editable that validates the user role. The same attribute could disable the page to make it more explicit that it can't be saved.