[JBoss JIRA] (GTNPORTAL-2899) The membership type "*" is not interpreted
by Trong Tran (JIRA)
[ https://issues.jboss.org/browse/GTNPORTAL-2899?page=com.atlassian.jira.pl... ]
Work on GTNPORTAL-2899 started by Trong Tran.
> The membership type "*" is not interpreted
> -------------------------------------------
>
> Key: GTNPORTAL-2899
> URL: https://issues.jboss.org/browse/GTNPORTAL-2899
> Project: GateIn Portal
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Affects Versions: 3.5.3.Final
> Environment: eXo Platform 4.0.0-Beta2
> Reporter: Hela Zekri
> Assignee: Trong Tran
> Priority: Blocker
> Labels: portal-s71
>
> {color:red}
> In eXo Platform, we have the membership type "*". If user has this membership type in a group, it means that he has all membership types in this group.
> {color}
> *Please try this scenario :*
> Add a user that has the membership type "manager" in "/platform/administrators" group and the membership type "*" in "/platform/users" group.
> When this user clicks "add page" in "Page Management", he has the possibility to choose the owner type "group" or "portal". If he chooses "group", the expected output is that he gets as "Owner Id", a selectbox that contains all groups in which he has the membership type "manager".
> (!) The membership type "manager" is set in "portal-configuration.xml" as value-param to UserACL component :
> {code:xml}
> <value-param>
> <name>navigation.creator.membership.type</name>
> <description>specific membership type have full permission with group navigation</description>
> <value>manager</value>
> </value-param>
> {code}
> In this case, user should get as "Owner Id" a selectbox that contains "/platform/administrators" and "/platform/users" groups(The membership type "*" includes "manager" membership type).
> But the current behavior is that the selectbox of "Owner Id" contains only the group "/platform/administator". This is due to the fact that the relationship "*" is considered as a String and not interpreted.
> *There are two possible solutions to this problem :*
> 1- Set the possibility to put many values for "navigation.creator.membership.type" value-param. So that we could do for example :
> {code:xml}
> <value-param>
> <name>navigation.creator.membership.type</name>
> <description>specific membership type have full permission with group navigation</description>
> <value>*,manager</value>
> </value-param>
> {code}
> 2- In "_findRoles_" method in "_org.picketlink.idm.impl.api.session.managers.RoleManagerImpl_" class :
> In the code bellow, each relationship of a user is compared to roleType ("manager"). If it is equal, it will be added to the list that will be returned. So even "*" is compared to "manager", it is not equal, so it won't be added.
> {code}
> for (IdentityObjectRelationship relationship : relationships)
> {
> if (roleType != null)
> {
> if (roleType.getName().equals(relationship.getName()))
> {
> roles.add(new SimpleRole(new SimpleRoleType(relationship.getName()), createUser(relationship.getToIdentityObject()), createGroup(relationship.getFromIdentityObject())));
> }
> }
> else
> {
> roles.add(new SimpleRole(new SimpleRoleType(relationship.getName()), createUser(relationship.getToIdentityObject()), createGroup(relationship.getFromIdentityObject())));
> }
> }
> {code}
> We created [https://issues.jboss.org/browse/PLIDM-40] in which we propose a patch that adds a test on "*" value.
> In the patch, we changed :
> {code}
> if (roleType.getName().equals(relationship.getName()))
> {code}
> to :
> {code}
> if ((roleType.getName().equals(relationship.getName())) || relationship.getName().equals("*"))
> {code}
>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 11 months
[JBoss JIRA] (GTNPORTAL-2899) The membership type "*" is not interpreted
by Trong Tran (JIRA)
[ https://issues.jboss.org/browse/GTNPORTAL-2899?page=com.atlassian.jira.pl... ]
Trong Tran updated GTNPORTAL-2899:
----------------------------------
Assignee: Trong Tran (was: Vu Viet Phuong)
> The membership type "*" is not interpreted
> -------------------------------------------
>
> Key: GTNPORTAL-2899
> URL: https://issues.jboss.org/browse/GTNPORTAL-2899
> Project: GateIn Portal
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Affects Versions: 3.5.3.Final
> Environment: eXo Platform 4.0.0-Beta2
> Reporter: Hela Zekri
> Assignee: Trong Tran
> Priority: Blocker
> Labels: portal-s71
>
> {color:red}
> In eXo Platform, we have the membership type "*". If user has this membership type in a group, it means that he has all membership types in this group.
> {color}
> *Please try this scenario :*
> Add a user that has the membership type "manager" in "/platform/administrators" group and the membership type "*" in "/platform/users" group.
> When this user clicks "add page" in "Page Management", he has the possibility to choose the owner type "group" or "portal". If he chooses "group", the expected output is that he gets as "Owner Id", a selectbox that contains all groups in which he has the membership type "manager".
> (!) The membership type "manager" is set in "portal-configuration.xml" as value-param to UserACL component :
> {code:xml}
> <value-param>
> <name>navigation.creator.membership.type</name>
> <description>specific membership type have full permission with group navigation</description>
> <value>manager</value>
> </value-param>
> {code}
> In this case, user should get as "Owner Id" a selectbox that contains "/platform/administrators" and "/platform/users" groups(The membership type "*" includes "manager" membership type).
> But the current behavior is that the selectbox of "Owner Id" contains only the group "/platform/administator". This is due to the fact that the relationship "*" is considered as a String and not interpreted.
> *There are two possible solutions to this problem :*
> 1- Set the possibility to put many values for "navigation.creator.membership.type" value-param. So that we could do for example :
> {code:xml}
> <value-param>
> <name>navigation.creator.membership.type</name>
> <description>specific membership type have full permission with group navigation</description>
> <value>*,manager</value>
> </value-param>
> {code}
> 2- In "_findRoles_" method in "_org.picketlink.idm.impl.api.session.managers.RoleManagerImpl_" class :
> In the code bellow, each relationship of a user is compared to roleType ("manager"). If it is equal, it will be added to the list that will be returned. So even "*" is compared to "manager", it is not equal, so it won't be added.
> {code}
> for (IdentityObjectRelationship relationship : relationships)
> {
> if (roleType != null)
> {
> if (roleType.getName().equals(relationship.getName()))
> {
> roles.add(new SimpleRole(new SimpleRoleType(relationship.getName()), createUser(relationship.getToIdentityObject()), createGroup(relationship.getFromIdentityObject())));
> }
> }
> else
> {
> roles.add(new SimpleRole(new SimpleRoleType(relationship.getName()), createUser(relationship.getToIdentityObject()), createGroup(relationship.getFromIdentityObject())));
> }
> }
> {code}
> We created [https://issues.jboss.org/browse/PLIDM-40] in which we propose a patch that adds a test on "*" value.
> In the patch, we changed :
> {code}
> if (roleType.getName().equals(relationship.getName()))
> {code}
> to :
> {code}
> if ((roleType.getName().equals(relationship.getName())) || relationship.getName().equals("*"))
> {code}
>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 11 months
[JBoss JIRA] (GTNPORTAL-2998) Error in server.log when trying to "SignOut" but session expired
by Boleslaw Dawidowicz (JIRA)
[ https://issues.jboss.org/browse/GTNPORTAL-2998?page=com.atlassian.jira.pl... ]
Boleslaw Dawidowicz updated GTNPORTAL-2998:
-------------------------------------------
Status: Resolved (was: Pull Request Sent)
Resolution: Done
> Error in server.log when trying to "SignOut" but session expired
> ----------------------------------------------------------------
>
> Key: GTNPORTAL-2998
> URL: https://issues.jboss.org/browse/GTNPORTAL-2998
> Project: GateIn Portal
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 3.6.0.Beta01
> Reporter: Marek Posolda
> Assignee: Marek Posolda
> Fix For: 3.6.0.Beta02
>
>
> 1) Go to http://localhost:8080/portal and login as root
> 2) Let session expire (or delete JSESSIONID cookie from browser cookies)
> 3) Click to "SignOut"
> This will end with exception
> {code}
> 12:43:30,117 ERROR [portal:PortalRequestHandler] (http--127.0.0.1-8080-1) Error while ending request on all ApplicationLifecycle: java.lang.IllegalStateException: User is not authenticated
> at org.gatein.wci.ServletContainer.logout(ServletContainer.java:211) [wci-wci-2.3.1.CR05.jar:2.3.1.CR05]
> at org.exoplatform.portal.application.PortalLogoutLifecycle.onEndRequest(PortalLogoutLifecycle.java:55) [exo.portal.webui.portal-3.6.0.Beta02-SNAPSHOT.jar:3.6.0.Beta02-SNAPSHOT]
> at org.exoplatform.portal.application.PortalLogoutLifecycle.onEndRequest(PortalLogoutLifecycle.java:37) [exo.portal.webui.portal-3.6.0.Beta02-SNAPSHOT.jar:3.6.0.Beta02-SNAPSHOT]
> at org.exoplatform.portal.application.PortalRequestHandler.processRequest(PortalRequestHandler.java:216) [exo.portal.webui.portal-3.6.0.Beta02-SNAPSHOT.jar:3.6.0.Beta02-SNAPSHOT]
> at org.exoplatform.portal.application.PortalRequestHandler.execute(PortalRequestHandler.java:159) [exo.portal.webui.portal-3.6.0.Beta02-SNAPSHOT.jar:3.6.0.Beta02-SNAPSHOT]
> at org.exoplatform.web.WebAppController.service(WebAppController.java:329) [exo.portal.component.web.controller-3.6.0.Beta02-SNAPSHOT.jar:3.6.0.Beta02-SNAPSHOT]
> at org.exoplatform.portal.application.PortalController.onService(PortalController.java:108) [exo.portal.webui.portal-3.6.0.Beta02-SNAPSHOT.jar:3.6.0.Beta02-SNAPSHOT]
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 11 months
[JBoss JIRA] (GTNPORTAL-3007) Resource bundle related warning keep popping up while administrating GateIn
by Viliam Rockai (JIRA)
Viliam Rockai created GTNPORTAL-3007:
----------------------------------------
Summary: Resource bundle related warning keep popping up while administrating GateIn
Key: GTNPORTAL-3007
URL: https://issues.jboss.org/browse/GTNPORTAL-3007
Project: GateIn Portal
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 3.6.0.Beta01
Reporter: Viliam Rockai
Trying to create a new node tree in "Manage sites" results into lots of warnings:
17:45:52,659 WARN [portal:WebuiBindingContext] (http--127.0.0.1-8080-5) Can not find resource bundle for key : UIPopupWindow.title.UIPopupWindow
17:46:20,702 WARN [portal:WebuiBindingContext] (http--127.0.0.1-8080-4) Can not find resource bundle for key : IconDropDown.item.IconSet16x16
17:46:20,704 WARN [portal:WebuiBindingContext] (http--127.0.0.1-8080-4) Can not find resource bundle for key : IconDropDown.item.IconSet16x16
17:46:20,772 WARN [portal:WebuiBindingContext] (http--127.0.0.1-8080-4) Can not find resource bundle for key : PopupPageSelector2.title.PopupPageSelector2
17:46:26,471 WARN [portal:WebuiBindingContext] (http--127.0.0.1-8080-4) Can not find resource bundle for key : UIPopupWindow.title.UIPopupWindow
I'm using English language
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 11 months
[JBoss JIRA] (GTNPORTAL-3006) Missing image file used in mobile CSS
by Viliam Rockai (JIRA)
Viliam Rockai created GTNPORTAL-3006:
----------------------------------------
Summary: Missing image file used in mobile CSS
Key: GTNPORTAL-3006
URL: https://issues.jboss.org/browse/GTNPORTAL-3006
Project: GateIn Portal
Issue Type: Bug
Security Level: Public (Everyone can see)
Reporter: Viliam Rockai
Assignee: Matt Wringe
Fix For: 3.6.0.Beta02
Missing image file "banner-masthead-border.png" is used in mobile CSS:
mobile-integration/portlets/banner/src/main/webapp/css/ResponsiveStylesheet.css: background-image: url(../images/banner-masthead-border.png);
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 11 months