Loading...
 
Features / Usability

Features / Usability


Group/Category Permissions Problem

posts: 3

I'm running version 2.2, and I'm having trouble getting a newly created group (Collaborators) to see pages assigned to a category (Collaborators).

I keep getting a "Permission denied you cannot view this page" error when I'm logged in as a user assigned to the Collaborators group.

The only way I've been able to view these pages as a Collaborator (via group permissions) is to give the group the "tiki_p_admin" permission, which I don't want to do. I even went so far as to turn on EVERY other permission except "tiki_p_admin" (for a total of 89 permissions turned on), and it still gave me the "Permission denied you cannot view this page" error.

I can also view the pages if I give view privileges to each individual page to the Collaborators group, which is also cumbersome.

I tried searching the forums, and the only advice that has been given to similar problems is the clear the cache or give "tiki_p_view_categorized" and/or other category-related permissions, none of which has worked. Please help!

-Hero


posts: 3

No, not originally. After trying to solve the problem via all sorts of group/category permissions (such as turning on everything but tiki_p_admin), I tried setting page-specific permissions to see if that would work. It did, but I have since removed all page-specific permissions since that is a tedious solution, and I figured there's maybe something I missed.

The only working solutions I've found so far are:

  • tiki_p_admin at the group level
  • tiki_p_view at the page-specific level


The common solutions I've read about in other posts that have NOT worked are:

  • tiki_p_view and tiki_p_view_categorized at the group level (sorry, Rick)
  • Clearing the cache


Is this a known bug? Or am I just missing something?

Thanks again,
Hero


posts: 3665 United States

Sorry, but I was unable to duplicate your problem. You probably have something conflicting with the permissions.
Using 2.2:

  1. I created a new group Collaborators (that includes Registered).
  2. I assigned tiki_p_view_categorized to the Collaborators group (it already inherited tiki_p_view from Registered).
  3. I created a new Category Collaborations.
  4. I assigned tiki_p_view_categorized to the Collaborators group for the Collaborations cateogry.
  5. I created a new page and assigned it to the Collaborations category.
  6. I created a new user and assigned it to the Collaborators group.

Logging in as this new user I was able to view the page.

HTH,

-Rick
Need more help? Try TikiWiki for Dummies Smarties or read my Tiki Blog or visit my UserPage


posts: 3

Thanks, Rick! In trying follow along above and create entirely new groups and categories (Group_Collaborators and Category_Collaborators) to start fresh, I discovered that I was only changing group permissions, but not category permissions. The whole time, I was only changing what pages fell under the Collaborators category, but not the actual permissions for that category!

redface

It only had "tiki_p_view_categories" turned on. I have since added "tiki_p_view_categorized" to the category permissions, and everything works perfectly now!

Thanks so much for your help!

-Hero


posts: 1

Hi,

I am struggling to set up the example given by Rick. At step 2, where I need to assign tiki_p_view_categorized to the Collaborators group I run into trouble.
I my setup, when viewing Assign permissions to group: Collaborator, the checkbox for tiki_p_view_categorized is already checked with inherited from Anonymous in the Desc column.
I presume once the user is logged in, they are no longer in the Anonymous group, so how do I explicitly set the permission for the Collaborators group as the checkbox is checked and grayed out?

Note that I had already set up a group/category/user similar to the above example and could not make it work as expected and getting the same error message as Hero, which lead me to this forum.

I hope this makes sense.

Regards
Bags