[
https://issues.jboss.org/browse/GTNPORTAL-2211?page=com.atlassian.jira.pl...
]
RH Bugzilla Integration commented on GTNPORTAL-2211:
----------------------------------------------------
mposolda(a)redhat.com made a comment on [bug
793804|https://bugzilla.redhat.com/show_bug.cgi?id=793804]
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:
CAUSE: when memberships of some user are changed (For example user root will remove user
john from group /platform/users group), then user john won't see updates immediately.
He needs to logout and login to see it. Example:
1) Start browser1, Go to
http://localhost:8080/portal and login as john. User john is in
group /platform/administrators by default, so he can see "Administrators" link
in group menu,
2) Start browser2, Go to
http://localhost:8080/portal and login as root. Go to
OrganizationManagement and remove user john from /platform/administrators
3) Return to browser1 and refresh page. User john can still see "administrators"
pages, which is a bug.
4) Logout and login again as john. Now "Administrators" are not longer visible.
Bad is that john needs to logout and login, otherwise permissions for pages are not
reflected.
FIX: I added new listener "MembershipUpdateListener" into
organization-configuration.xml file. This listener will update all memberships of logged
user in ConversationRegistry, so that changes are immediately reflected in UI.
RESULT: Changes are immediately reflected in UI. In previous example, user john won't
see "Administrators" page in step 3, which is correct.
Declare the MembershipUpdateListener in
organization-configuration.xml
----------------------------------------------------------------------
Key: GTNPORTAL-2211
URL:
https://issues.jboss.org/browse/GTNPORTAL-2211
Project: GateIn Portal
Issue Type: Bug
Security Level: Public(Everyone can see)
Reporter: Hai Nguyen
Assignee: Hai Nguyen
Priority: Minor
Labels: portal-s63, synced
Fix For: 3.2.0-Beta01
The goal is to have other products not declare it.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira