Users must have global tiki_p_view_trackers to see tracker item even if tracker specific perm set
- Status
- Closed
- Subject
- Users must have global tiki_p_view_trackers to see tracker item even if tracker specific perm set
- Version
- 6.x
- Category
- Consistency
- Feature
- Permission
Trackers - Resolution status
- Fixed or Solved
- Submitted by
- Nelson Ko
- Lastmod by
- Ushindi Gedeon
- Rating
- Description
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
Copy to clipboardfunction 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; } }- Solution
- Workaround
- Importance
- 7
- Priority
- 35
- Demonstrate Bug on Tiki 19+
-
This bug has been demonstrated on show2.tiki.org
Please demonstrate your bug on show2.tiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show2.tiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Demonstrate Bug (older Tiki versions)
-
This bug has been demonstrated on show.tikiwiki.org
Please demonstrate your bug on show.tikiwiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show.tikiwiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Ticket ID
- 3664
- Created
- Thursday 18 November, 2010 08:15:47 UTC
by Nelson Ko - LastModif
- Tuesday 30 June, 2026 10:04:58 UTC