Loading...
 
Skip to main content

Features / Usability


Advice on setting up Group Permissions and Categories

I want to set up a wiki where each page can be assigned to be viewed by and also edited only certain groups of users (and often, the group that can edit it will not be the same ones that can view the page).

For example, let's say I have corprate users including (1) employees, (2) contractors, (3) management and (4) executives. I may have pages that I only want viewable to management that are only editable by executives. In other cases, the pages might be viewable and editable by all employees.

I have figured out how to create the groups and give permissions to these groups, but what I don't like is how hidden the permissions are for setting up who can view or edit the page (the PERMS button at the bottom of the page). It seems like by default, a page is viewable to all users and editable by all users--and then I need to click on perms and manually change the permissions for each new page I write.

I really like how, if you use categories, that those categores get listed at the top of every page (so every Management Only viewable page could say "Management Only" in green at the top of restricted pages--but I can't tell if I can actually use the categories to restrict the viewing and/or editing (can I?). As of now, I have been able to assign cateogries like "Management Only" but can't quite tell how to get the view/edit permissions piece working.

So, my question is, given my intent and desires, how would any of you recommend I deploy the user group and category features to accomplish my desired result?

I would set permissions as follows:

  1. Create four groups: Employees, Contractors, Management, Executives.
    You didn't mention if there was a hierarchical relationship between them, so I'll ignore that for now.
  2. Add the Registered group to each of the four groups you created.
  3. Grant tiki_p_view and tiki_p_edit to the Registered group.
    Now, users of each group have, by default, read/write access to all wiki pages.
  4. Create four categories: Employees, Contractors, Management, Executives.
  5. For the Employees category, grant tiki_p_view_categories to the Employees group. Now, only Employees can view (and therefore also edit) the any pages that you assign to the Employee category.
    Because you overrode the default category permissions, no other group will be able to view/edit the pages in the category — even though they have the generic tiki_p_edit permission.


Now, if you have some pages that you want viewable by one group but editable by another, its a bit more involved (but still quite do-able).

For example, to create a page that is viewable by Management but editable by Executives, you'll need to override the site-wide permissions and assign page-specific permissions to the page. Assign:

  • tiki_p_view to Managers (managers can now view the page)
  • tiki_p_edit to Executives (executives can now edit the page).

These page-specific permissions will override any existing permissions. For example, Employees (even though, as part of the Registered group they have generic tiki_p_view) will no longer be able to view the page.


HTH,

-RickQuestion
Need more help? Try TikiWiki for Dummies SmartiesQuestion or read my Tiki Blog


So for example, the only permissions it appears I can assign to categories are tiki_p_admin_categories and tiki_p_view_categories. How does this compare to the tiki_p_edit and tiki_p_view I can assign to groups. Will I be able to use categories to impact edit/view permissions?

I have the same question, when I set it to p_view they still can not view the category, but when I set it to p_admin they can. I would like just have view, working... any ideas.

-Griffin-