Bug 1029005 - Portal.hasPermission returns false if Permission parameter contains multiple Memberships
Summary: Portal.hasPermission returns false if Permission parameter contains multiple ...
Keywords:
Status: VERIFIED
Alias: None
Product: JBoss Enterprise Portal Platform 6
Classification: JBoss
Component: Portal
Version: 6.1.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: DR01
: 6.1.1
Assignee: Peter Palaga
QA Contact: Tomas Kyjovsky
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-11-11 13:18 UTC by Martin Weiler
Modified: 2019-01-01 03:40 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
It was discovered that when multiple group access permissions were defined, the "hasPermission" method was honoring the first group access permission only. This caused the value of group permissions in a portlet to return false. If an administrator had access permissions set to a single group access permission, "hasPermission" functioned as expected. The fix changes the "hasPermission" method to accept a list of Memberships. For example, if the admin has access permissions set as ":/platform/administrators/admin group1;:/platform/administrators/admin group2;*:/platform/administrators/admin group3", all three access permissions are now accepted.
Clone Of:
: 1029545 (view as bug list)
Environment:
Last Closed:
Type: Bug


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker GTNPORTAL-3287 0 Major Resolved Portal.hasPermission returns false if Permission parameter contains multiple Memberships 2014-02-19 16:37:53 UTC

Description Martin Weiler 2013-11-11 13:18:02 UTC
Description of problem:
Platform issue for https://issues.jboss.org/browse/GTNPORTAL-3287

Comment 2 JBoss JIRA Server 2013-11-14 20:59:19 UTC
Peter Palaga <ppalaga> updated the status of jira GTNPORTAL-3287 to Resolved


Note You need to log in before you can comment on or make changes to this bug.