I don't understand permissions, or it doesn't work correctly

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

Post Reply
Chojin
Posts: 2
Joined: Mon Jun 18, 2007 4:01 pm

I don't understand permissions, or it doesn't work correctly

Post by Chojin »

I'm doing a test-drive of the current stable phpMyFax 2.0.1..
And it looks quite promissing, but I don't get how the user/group based permissions system works for the categories.

I have a few users in group 1
and a few other users in group 2
and ofcourse an admin user

Then I created a lot of categories with subcategories.
example:

Code: Select all

Category 1 (Public)
|--SubCat1 (Public)
|--SubCat2 (Public)
|  |--SubSubCat1 (Public)
|  |--SubSubCat2 (Group1 only)
|  |  |--SubSubSubCat1 (Group 1 only)
|  |--SubSubCat3 (Group 1 only)
Category2 (Public)
Now when I log in as a user from group 2 I don't see the SubSubCats 2 and 3 in the overview neither in the menu when I try to navigate to them.

When I log in as a user from group 1, I see all categories in the overview.
So far everything works as expected.

Then I select Category 1 in the menu
-> In the menu I see all SubCats
-> In the overview I see the SubCats, but not SubSubCats 2 and 3, as if I don't have permission to it.

Then I select SubCat2 in the menu, still no SubSubCats 2 and 3 in the overview.

Then I select SubSubCat2 in the menu
-> In the menu I see SubSubSubCat 1 being displayed
-> In the overview I only see a piece of URL in the form of "/faq/index.php?action=show&cat=14" instead of the category name and no SubSubSubCat 1


Is this a bug (didn't find anything about it on the bugtracker) ? or am I doing something wrong?
If it is a bug, and if it is corrected already, is there a quick patch available for it?
Thorsten
Posts: 15726
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

this seems to be a bug. Could you please add it with a quick dump of your database to http://bugs.phpmyfaq.de? Thank you very much!

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Chojin
Posts: 2
Joined: Mon Jun 18, 2007 4:01 pm

Post by Chojin »

rickliveops
Posts: 61
Joined: Tue Mar 27, 2007 8:57 pm
Location: Palo Alto, California
Contact:

Post by rickliveops »

For me the bug is much simpler:

I created a group (called Editor).
I created a category (called Editor Resources)
I marked this category as accessible only to Editor group.
I put my user account into the Editor group.
But I can't see Editor Resources category.
Post Reply