Bug 793387 (JBEPP-468)
| Summary: | Administration portlets not accessible when reconnection to LDAP from another instance | ||
|---|---|---|---|
| Product: | [JBoss] JBoss Enterprise Portal Platform 5 | Reporter: | Viliam Rockai <vrockai> |
| Component: | Portal | Assignee: | mposolda |
| Status: | CLOSED NEXTRELEASE | QA Contact: | |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 5.0.1.CR01 | CC: | jmorgan, theute, tkonishi |
| Target Milestone: | --- | Keywords: | ReleaseNotes |
| Target Release: | 5.2.1.GA | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| URL: | http://jira.jboss.org/jira/browse/JBEPP-468 | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: |
A problem with the logic in OrganizationDatabaseInitializer caused issues with LDAP group mapping and permissions when the platform was executed for the first time. The fix introduces updated logic in NewPortalConfigListener, which ensures LDAP groups are correctly initialized, with all permission fields properly assigned.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-02-21 15:18:45 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Viliam Rockai
2010-09-17 10:39:15 UTC
Release Notes Docs Status: Added: Not Required Forum Reference: Added: https://na7.salesforce.com/500A0000008yXf1 Help Desk Ticket Reference: Added: https://na7.salesforce.com/500A0000008yXf1 Forum Reference: Removed: https://na7.salesforce.com/500A0000008yXf1 Labels: Added: EPP_5_2_1_Candidate Labels: Removed: EPP_5_2_1_Candidate
Technical note added. If any revisions are required, please edit the "Technical Notes" field
accordingly. All revisions will be proofread by the Engineering Content Services team.
New Contents:
Release Notes Docs Status: Not Yet Documented
Release Notes Text:
CAUSE: This is an issue for EPP 5.0.1 and EPP 5.1 but it can't be reproduced in EPP 5.2 and so it's not issue anymore.
It's caused by the fact, that groups, which were mapped to LDAP (like /platform/administrators or /platform/users) were already in LDAP when portal was executed for the first time, which means that OrganizationDatabaseInitializer couldn't create these groups and also group navigations for these groups.
So group navigations were created by NewPortalConfigListener, but there was a bug in NewPortalConfigListener (or bad default configuration) which caused that Group configurations were created with access_permission=null and edit_permissions=null. That causes NullPointerException thrown from UIAdminToolbarPortlet UI component when user wants to access page for Group navigation of some LDAP group (like ApplicationRegistry or OrganizationManagement page)
FIX: In EPP 5.2 is Group initialization part in NewPortalConfigListener rewritten, which means that groups are correctly initialized with all the fields properly assigned.
Technical note updated. If any revisions are required, please edit the "Technical Notes" field
accordingly. All revisions will be proofread by the Engineering Content Services team.
Diffed Contents:
@@ -1,6 +1,3 @@
-Release Notes Docs Status: Not Yet Documented
-
-Release Notes Text:
CAUSE: This is an issue for EPP 5.0.1 and EPP 5.1 but it can't be reproduced in EPP 5.2 and so it's not issue anymore.
It's caused by the fact, that groups, which were mapped to LDAP (like /platform/administrators or /platform/users) were already in LDAP when portal was executed for the first time, which means that OrganizationDatabaseInitializer couldn't create these groups and also group navigations for these groups.
Technical note updated. If any revisions are required, please edit the "Technical Notes" field
accordingly. All revisions will be proofread by the Engineering Content Services team.
Diffed Contents:
@@ -1,7 +1 @@
-CAUSE: This is an issue for EPP 5.0.1 and EPP 5.1 but it can't be reproduced in EPP 5.2 and so it's not issue anymore.
+A problem with the logic in OrganizationDatabaseInitializer caused issues with LDAP group mapping and permissions when the platform was executed for the first time. The fix introduces updated logic in NewPortalConfigListener, which ensures LDAP groups are correctly initialized, with all permission fields properly assigned.-
-It's caused by the fact, that groups, which were mapped to LDAP (like /platform/administrators or /platform/users) were already in LDAP when portal was executed for the first time, which means that OrganizationDatabaseInitializer couldn't create these groups and also group navigations for these groups.
-
-So group navigations were created by NewPortalConfigListener, but there was a bug in NewPortalConfigListener (or bad default configuration) which caused that Group configurations were created with access_permission=null and edit_permissions=null. That causes NullPointerException thrown from UIAdminToolbarPortlet UI component when user wants to access page for Group navigation of some LDAP group (like ApplicationRegistry or OrganizationManagement page)
-
-FIX: In EPP 5.2 is Group initialization part in NewPortalConfigListener rewritten, which means that groups are correctly initialized with all the fields properly assigned.
|