In-Portal Issue Tracker

Welcome to the In-Portal Open Source CMS Issue Tracker! This is a central management / tracking tool for all types of tasks / issues / bugs for the In-Portal Project. Before reporting any issues, please make sure to read the Guide into Issue Tracker and How to Properly Test and Report Bugs!

Viewing Issue Simple Details Jump to Notes ] Wiki ] View Advanced ] Issue History ] Print ]
ID Category Type Reproducibility Date Submitted Last Update
0000952 [In-Portal CMS] Permissions bug report always 2010-12-14 03:00 2011-09-19 16:08
Reporter alex View Status public Project Name In-Portal CMS
Assigned To alex Developer
Priority normal Resolution fixed Fixed in Version 5.1.3-B1
Status closed Product Version 5.1.1 Target Version 5.1.3
Time EstimateNo estimate
Summary 0000952: Incorrect permission checked by "adm_ListTabs" tag
Description 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.
Additional Information
Tags No tags attached.
Reference http://groups.google.com/group/in-portal-bugs/browse_thread/thread/b3877f9b7f0f896f
Change Log Message Fixed permission check in "adm_ListTabs" tag
Estimate Points 0
Attached Files patch file icon permission_check_on_tabs_display.patch [^] (1,114 bytes) 2010-12-14 03:00 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
User avatar (0003123)
Dmitry (manager)
2010-12-27 13:51

Reviewed and tested okay.
User avatar (0003438)
alex (manager)
2011-05-20 03:17

Fix committed to 5.1.x branch. Commit Message:

Fixes 0000952: Incorrect permission checked by "adm_ListTabs" tag
User avatar (0003861)
alex (manager)
2011-09-19 16:08

Closing, since 5.1.3 release has been released.

- Related Changesets
In-Portal CMS: 5.1.x r14330
Timestamp: 2011-05-20 03:17:37
Author: alex
Details ] Diff ]
Fixes 0000952: Incorrect permission checked by "adm_ListTabs" tag
mod - /in-portal/branches/5.1.x/core/units/admin/admin_tag_processor.php Diff ] File ]

- Issue History
Date Modified Username Field Change
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



Web Development by Intechnic
In-Portal Open Source CMS
In-Portal Open Source CMS
Copyright © 2000 - 2009 MantisBT Group

Powered by Mantis Bugtracker