| Summary: | Portal.hasPermission returns false if Permission parameter contains multiple Memberships | |||
|---|---|---|---|---|
| Product: | [JBoss] JBoss Enterprise Portal Platform 6 | Reporter: | Martin Weiler <mweiler> | |
| Component: | Portal | Assignee: | Peter Palaga <ppalaga> | |
| Status: | VERIFIED --- | QA Contact: | Tomas Kyjovsky <tkyjovsk> | |
| Severity: | medium | Docs Contact: | ||
| Priority: | medium | |||
| Version: | 6.1.0 | CC: | 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
Peter Palaga <ppalaga> updated the status of jira GTNPORTAL-3287 to Resolved |