In-Portal Issue Tracker - In-Portal CMS
Viewing Issue Advanced Details
952 [In-Portal CMS] Permissions bug report always 2010-12-14 03:00 2011-09-19 16:08
alex  
alex  
normal  
closed 5.1.1  
fixed  
 
none 5.1.3-B1  
http://groups.google.com/group/in-portal-bugs/browse_thread/thread/b3877f9b7f0f896f
Fixed permission check in "adm_ListTabs" tag
0
0000952: Incorrect permission checked by "adm_ListTabs" tag
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.
patch permission_check_on_tabs_display.patch (1,114) 2010-12-14 03:00
http://tracker.in-portal.org/file_download.php?file_id=884&type=bug
Issue History
2011-09-19 16:08 alex Note Added: 0003861
2011-09-19 16:08 alex Status resolved => closed
2011-05-20 03:17 alex Note Added: 0003438
2011-05-20 03:17 alex Status reviewed and tested => resolved
2011-05-20 03:17 alex Fixed in Version => 5.1.3-B1
2011-05-20 03:17 alex Resolution open => fixed
2011-05-20 03:17 alex Assigned To !COMMUNITY => alex
2011-05-20 03:17 alex Changeset attached 5.1.x r14330
2011-04-04 11:49 Dmitry Target Version Icebox => 5.1.3
2010-12-27 13:51 Dmitry Note Added: 0003123
2010-12-27 13:51 Dmitry Status needs testing => reviewed and tested
2010-12-14 03:00 alex Assigned To => !COMMUNITY
2010-12-14 03:00 alex Developer => alex
2010-12-14 03:00 alex Status active => needs testing
2010-12-14 03:00 alex Reference => http://groups.google.com/group/in-portal-bugs/browse_thread/thread/b3877f9b7f0f896f
2010-12-14 03:00 alex New Issue
2010-12-14 03:00 alex File Added: permission_check_on_tabs_display.patch
2010-12-14 03:00 alex Change Log Message => Fixed permission check in "adm_ListTabs" tag

Notes
(0003123)
Dmitry   
2010-12-27 13:51   
Reviewed and tested okay.
(0003438)
alex   
2011-05-20 03:17   
Fix committed to 5.1.x branch. Commit Message:

Fixes 0000952: Incorrect permission checked by "adm_ListTabs" tag
(0003861)
alex   
2011-09-19 16:08   
Closing, since 5.1.3 release has been released.