Controlled edit access
I am trying to accomplish the following functionality:
- Users who are administrators (or some other predetermined group) should be able to edit the entire wiki document
- Users who are of a lower access group (say contributors) can only edit one small part of the wiki document.
To make it more explicit...
Say you have a document that looks something like:
<h1>some title</h1>text text text
<h2>EDIT ME</h2>editMe editMe
Clicking the "Edit Page" button provides you with a FCKEditor where you can edit everything. I want this to be available only for super users.
Clicking on the little edit icon that auto-appears next to <h2> text, gives you a FCKEditor that allows you to edit only the EDIT ME section. I want that to be the behavior even if the "Edit Page" button is hit by a non super user.
Let me know if that's possible.
Thanks for the help.
The easiest way to achieve this is to create a main page and transclude subpages with different permissions into it. Look at wiki.page()
Main page (only editable by admins)
- Shows subpage1
- Shows subpage2
Subpage1 & 2 are editable by everyone.