Loading...
 
Skip to main content

Features / Usability


Trouble with Categories Permissions

Hi,

I'm using TikiWiki v1.9.10.1 and have setup a category called "administrivia". I added objects to the category (several wiki pages) and then setup the permissions such that the "registered" group has tiki_p_view_categories and the "administriviens" group (which inherits permissions from the "registered" group) has tiki_p_admin_categories permissions for the category.

I would expect this arrangement to cause all the registered users to be able to see, but not edit, all the pages assigned to the "administrivia" category and all of the members of the "administriviens" group to be able to see and edit the same pages. However, this is not what I'm seeing. Instead, all registered users are allowed to edit the pages. What am I doing wrong?

Thanks,
Aaron

So after digging through the code I found my problem. I thought I'd share in case anyone else has the same trouble.

I didn't understand that the subcategory permissions were secondary to the permissions granted to an individual user or group. So even though I'd setup my subcategory permissions to not allow someone to see a page, if they had the tiki_p_view permission, either from a group or individual user settings, they were allowed to view the page. Same thing with the editing permissions.

Aaron