Features / Usability

Features / Usability

Re: Re: Re: Re: Category help

posts: 289 United States

I'm at a bit of a loss then.

To recap; "Draft", "Pending" and "Approved" categories should all have both tiki_p_view_categories and tiki_p_view_categorized category permissions granted to the anonymous user group. Furthermore, the anonymous user group itself does not have to have tiki_p_view_categories and tiki_p_view_categorized permissions in order to be able to see all pages categorized under the those categories mentioned above. In fact, if you don't give the anonymous user group those permissions they will only be able to see those pages categorized under the 3 categories mentioned (and any categories above, if they too have the appropriate permissions).

posts: 24 United States
DarkBee - can you do me a favor? I've been perusing my MySQL database. Can you look at your tables (I'm using phpmyadmin) and particularly tiki_categorized_objects. I only have one field, namely catObjectId. The documentation (http://doc.tikiwiki.org/tiki-index.php?page=Categories+Details&bl=y) leads me to believe I should have more than one, i.e. objId, description, created, etc. I'm wondering if my DB is screwed up. Do you have more than one field in this table?

posts: 289 United States

Nope, I just have one field too, same as you.

I'm guessing this table litterly represents which objects have been categorized or not. If the object ID isn't in the table then the object hasn't been categorized. I can't check right now but perhaps I'll be able to have a look later.

it looks like tiki_category_objects is the table that actually tells you what category each object is in.

As far as the documentation goes, it's a work in progress, I wouldn't take it as gospel.

posts: 289 United States

Did you say that you have 5 category permissions, because I only have 4?

I believe the permissions for version 2.0/2.1 should be:

  • tiki_p_edit_categorized
  • tiki_p_view_categories
  • tiki_p_view_categorized
  • tiki_p_admin_categories

If you have 5 then your upgrade might not have worked correctly. This might explain why you are:

  1. Having trouble get your category permission to work as they should
  2. Understanding the differences between permissions (because one of the permissions is erroneous)