Loading...
 
Skip to main content

Features / Usability


Trying to use category-based permissions and PluginInclude

Hi,

I'm trying to use an access control system wherein the various users of my site can have read, write, or no access to wiki pages based off the categories they're in.

It seems to work (although the fact there's only 2 permissions in Categories mystifies me when Wiki permissions have many more) on regular pages, but fails when I include one file in to another - if I don't have permissions set on the page itself, then the include plugin will happily spit out the page that should be protected.

My test was pretty simple:

Page A had an include link to page B.
Page B had no specific rights, but was in category "Restricted".
Category "Restricted" had the following set:
- tiki_p_admin_categories: Admin
- tiki_p_view_categories: Admin

Despite that, when an anonymous user viewed page A, the content of page B was also shown.

I saw a note in the 1.9.5 release log that a permissions problem was fixed with Categories, but either I'm using this wrong, or it was for a different bug.

Does anyone have any advice for me on this? I'd hate to have to set permissions on every single page. 😑

TW version: 1.9.5

Hi,
I have the same problem with the category permissions and the include plugin.
But I have set the permissions on every single page now.
I think this is an other bug.
I hope this bug will be fixed soon.
Let me know.
Thanx Daniela