The problem is summarized in 2:
1) The category perm checking for individual tracker item always happens no matter what.
2) Even when it makes sense to check for category perms, the filter appears to not take into account specific tracker perm, because trackeritem is a "different" object from tracker.
The problem is in the following piece of code in trackerlib.php
function filter_categ_items($ret) { //this is an approxomation - the perm should be function of the status global $categlib; include_once('lib/categories/categlib.php'); if (empty($ret['itemId']) || $categlib->is_categorized('trackeritem', $ret['itemId'])) { return Perms::filter(array('type' => 'trackeritem'), 'object', $ret, array('object' => 'itemId'), 'view_trackers'); } else { return $ret; } }
To help developers solve the bug, we kindly request that you demonstrate your bug on a show2.tiki.org instance. To start, simply select a version and click on "Create show2.tiki.org instance". Once the instance is ready (in a minute or two), as indicated in the status window below, you can then access that instance, login (the initial admin username/password is "admin") and configure the Tiki to demonstrate your bug. Priority will be given to bugs that have been demonstrated on show2.tiki.org.
filename | created | hits | comment | version | filetype | ||
---|---|---|---|---|---|---|---|
No attachments for this item |