Loading...
 

Global permission Can list trackers (tiki_p_list_trackers) is not applied

Status
Open
Subject
Global permission Can list trackers (tiki_p_list_trackers) is not applied
Version
23.x
25.x (future, currently trunk)
Category
  • Consistency
  • Bug
Feature
Trackers
Resolution status
Confirmed
Submitted by
Bernard Sfez / Tiki Specialist
Keep informed
Jonny Bradley
Lastmod by
Bernard Sfez / Tiki Specialist
Rating
(0)
Description

We have a global permission tiki_p_list_trackers that should allow or deny groups to be able to see the list of trackers (tiki-list_trackers.php). This permission is only listed in the global permission (not object) so it is definitely all trackers.

Tested with a fresh Tiki25.x
See in the attached video:

It seems this permissions is simply ignored.

  1. Visiting the tracker list page as anonymous I can see the tracker list page with an empty table.
    What a un-happy UX/UI...When the is nothing to see, the user/visitor should clearly see nothing 😎 and eventually the reason he sees nothing. Not an empty table.
  2. If you change the object permission "tiki_p_view_trackers" for a tracker, it will be listed.


Doesn't make sense to me.
See my suggestions in the Solution field below.

before test in Tiki25

)

Tested at https://nextdev.tiki.org Last updated (GIT 23.x:19611): Thursday 09 September, 2021

Global permission Can list trackers (tiki_p_list_trackers) disable
Screen Shot 2021 09 13 At 7.45.52

Anonymous can see in the trackers list different trackers
Screen Shot 2021 09 13 At 7.54.22


Test 2 disabling ALL global permissions for trackers for anonymous (for all)
Screen Shot 2021 09 13 At 7.56.20

Anonymous can now only see tracker5 listed
Screen Shot 2021 09 13 At 7.57.41


Test 3 disabling Can view trackers (tiki_p_view_trackers) object permission for tracker5
Screen Shot 2021 09 13 At 7.57.41

This (tracker) object permissions Can view trackers (tiki_p_view_trackers) is enable.


Test 4
Disabling this (tracker) object permissions Can view trackers (tiki_p_view_trackers)

Anonymous can't see the tracker5 listed, but still can see tiki-list_trackers.php and the menu item


Test 5
If I enable (one by one) for Anonymous:
Can create new tracker items (tiki_p_create_tracker_items)
Can change tracker items (tiki_p_modify_tracker_items)
Can remove tracker items (tiki_p_remove_tracker_items)
(I stopped here)

Anonymous can't see any trackers listed, but still can see tiki-list_trackers.php and the menu item



My understanding is that, as there is NO tiki_p_list_trackers permissions per tracker object is that this permission is a top layer that should be applied to display or hide tiki-list_trackers.php trackers=>list trackers

There are many cases you want users (groups) to access item(s) but not to see the trackers list without redoing the all display interface. "tiki_p_list_trackers" permission was an easy and cleaner (no empty list or un-useful menu item) way to be sure this doesn't happen. While there are other ways to achieve this, those are complicate and require power users knowledge.

I believe that in time something was omitted (broken) and it went under the radar.
May be because the permission label "Can view trackers (tiki_p_view_trackers)" is not clear enough vs "Can list trackers". It should have been "Can view tracker items" .

Solution
  1. When a group doesn't have "permission tiki_p_list" he simply shouldn't be able to see the table or page content, but a message You don't have permission to list the trackers.
  2. When user/visitor load tiki-list_trackers.php that lead to an empty table, he shouldn't see the table or page content but a message You don't have permission to list the trackers.
Importance
6
Easy to solve?
5
Priority
30
Demonstrate Bug (Tiki 19+)
Please demonstrate your bug on show2.tikiwiki.org
 About show2.tikiwiki.org

To help developers solve the bug, we kindly request that you demonstrate your bug on a show2.tikiwiki.org instance. To start, simply select a version and click on "Create show2.tikiwiki.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.tikiwiki.org.

Version: Create show2.tikiwiki.org instance
Ticket ID
7824
Created
Monday 13 September, 2021 05:21:33 GMT-0000
by Bernard Sfez / Tiki Specialist
LastModif
Tuesday 03 May, 2022 05:52:29 GMT-0000

Attachments

 filenamecreatedhitscommentversionfiletype 
No attachments for this item


Keywords

The following is a list of keywords that should serve as hubs for navigation within the Tiki development and should correspond to documentation keywords.

Each feature in Tiki has a wiki page which regroups all the bugs, requests for enhancements, etc. It is somewhat a form of wiki-based project management. You can also express your interest in a feature by adding it to your profile. You can also try out the Dynamic filter.

Accessibility (WAI & 508)
Accounting
Administration
Ajax
Articles & Submissions
Backlinks
Banner
Batch
BigBlueButton audio/video/chat/screensharing
Blog
Bookmark
Browser Compatibility
Calendar
Category
Chat
Comment
Communication Center
Consistency
Contacts Address book
Contact us
Content template
Contribution
Cookie
Copyright
Credits
Custom Home (and Group Home Page)
Database MySQL - MyISAM
Database MySQL - InnoDB
Date and Time
Debugger Console
Diagram
Directory (of hyperlinks)
Documentation link from Tiki to doc.tiki.org (Help System)
Docs
DogFood
Draw -superseded by Diagram
Dynamic Content
Preferences
Dynamic Variable
External Authentication
FAQ
Featured links
Feeds (RSS)
File Gallery
Forum
Friendship Network (Community)
Gantt
Group
Groupmail
Help
History
Hotword
HTML Page
i18n (Multilingual, l10n, Babelfish)
Image Gallery
Import-Export
Install
Integrator
Interoperability
Inter-User Messages
InterTiki
jQuery
Kaltura video management
Karma
Live Support
Logs (system & action)
Lost edit protection
Mail-in
Map
Menu
Meta Tag
Missing features
Visual Mapping
Mobile
Mods
Modules
MultiTiki
MyTiki
Newsletter
Notepad
OS independence (Non-Linux, Windows/IIS, Mac, BSD)
Organic Groups (Self-managed Teams)
Packages
Payment
PDF
Performance Speed / Load / Compression / Cache
Permission
Poll
Profiles
Quiz
Rating
Realname
Report
Revision Approval
Scheduler
Score
Search engine optimization (SEO)
Search
Security
Semantic links
Share
Shopping Cart
Shoutbox
Site Identity
Slideshow
Smarty Template
Social Networking
Spam protection (Anti-bot CATPCHA)
Spellcheck
Spreadsheet
Staging and Approval
Stats
Survey
Syntax Highlighter (Codemirror)
Tablesorter
Tags
Task
Tell a Friend
Terms and Conditions
Theme
TikiTests
Timesheet
Token Access
Toolbar (Quicktags)
Tours
Trackers
TRIM
User Administration
User Files
User Menu
Watch
Webmail and Groupmail
WebServices
Wiki History, page rename, etc
Wiki plugins extends basic syntax
Wiki syntax text area, parser, etc
Wiki structure (book and table of content)
Workspace and perspectives
WYSIWTSN
WYSIWYCA
WYSIWYG
XMLRPC
XMPP




Useful Tools

Show PHP error messages