Incorrect permission checked by "adm_ListTabs" tag
Components
Labels
None
Description
Context Information
None
Additional information (do not use)
None
Attachments
1
Activity
Show:
Alex September 19, 2011 at 9:08 PM
Closing, since 5.1.3 release has been released.
Alex May 20, 2011 at 8:17 AM
Fix committed to [b]5.1.x branch/b. Commit Message:
Fixes #0000952: Incorrect permission checked by "adm_ListTabs" tag
Dmitry Andrejev December 27, 2010 at 7:51 PM
Reviewed and tested okay.
Fixed
Priority
Assignee
Reporter
Alex
AlexDeveloper
Alex
AlexChange Log Message
Fixed permission check in "adm_ListTabs" tag
Patch Instructions
Patches must be submitted through Phabricator.
To submit patch via Command Line use Patches Workflow (via Arcanist) tutorial.
To submit patch via Web Interface use Patches Workflow (via Web Interface) tutorial.
External issue ID
952
External issue URL
Fix versions
Affects versions
Created December 14, 2010 at 9:00 AM
Updated December 29, 2024 at 9:14 PM
Resolved September 19, 2011 at 9:08 PM
Each section in admin console has associated permission, that is checked before displaying it.
For example user list has "in-portal:user_list" section and "in-portal:user_list.view". This is most common case, when section name is also part of permission name for this section.
However it's allowed to declare tree section in one unit, but tell it to check permissions based on other unit. This can be done via "perm_prefix" option in section definition. During admin tree drawing this option is processed, but during tab printing via <inp2:adm_ListTabs .../> tag it is ignored.
This will result in admin tree section being printed, but tabs not printed.