+ Reply to Thread
Results 1 to 2 of 2

Thread: Controlled edit access

  1. #1

    Default 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:
    ...start
    <h1>some title</h1>text text text
    <h2>EDIT ME</h2>editMe editMe
    ...end

    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.
    - alex

  2. #2
    Join Date
    Oct 2007
    Location
    San Diego, CA
    Posts
    1,237

    Default

    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.

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts