Bug 1029005

Summary: Portal.hasPermission returns false if Permission parameter contains multiple Memberships
Product: [JBoss] JBoss Enterprise Portal Platform 6 Reporter: Martin Weiler <mweiler>
Component: PortalAssignee: Peter Palaga <ppalaga>
Status: VERIFIED --- QA Contact: Tomas Kyjovsky <tkyjovsk>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.1.0CC: bdawidow, epp-bugs, jpallich, tkyjovsk
Target Milestone: DR01   
Target Release: 6.1.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
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.
Story Points: ---
Clone Of:
: 1029545 (view as bug list) Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

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