-
Type:
Bug
-
Status: Closed
-
Resolution: Inactive
-
Affects Version/s: 6.1.2 CE GA3, 6.2.0 CE GA1
-
Fix Version/s: 6.1.2 CE GA3, 6.2.0 CE GA1
-
Component/s: User Management, User Management > Roles
-
Labels:None
Steps to reproduce:
- Create new organization
- Create new organization role
- Add all permission from section "Organization Administration"
- Create new user, assign him to created organization and assign him created role
- Log as the new user
- Go to Control Panel -> Users and Organization
- Choose your organization
- Choose your user (the same as the one you are logged in right now)
- Click Save.
You end up with the screen "You do not have required permissions" with the cause being the exception with following stack trace.
com.liferay.portal.security.auth.PrincipalException 23:52:15,205 DEBUG [liferay/scheduler_dispatch-17][RjpsToLrSynchronizerService:36] Uruchomiono periodyczne zadanie akceptacji uzytkownikow z wnioskow o rejestracje jednostki at com.liferay.portal.service.permission.GroupPermissionImpl.check(GroupPermissionImpl.java:49) at com.liferay.portal.service.permission.GroupPermissionUtil.check(GroupPermissionUtil.java:39) at com.liferay.portal.service.impl.LayoutSetServiceImpl.updateLayoutSetPrototypeLinkEnabled(LayoutSetServiceImpl.java:74) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:117) at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:62) at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:52) at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:113) at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56) at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:113) at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56) at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:113) at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56) at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:113) at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56) at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:113) at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:218) at com.liferay.portal.security.pacl.PACLInvocationHandler.doInvoke(PACLInvocationHandler.java:62) at com.liferay.portal.security.pacl.PACLInvocationHandler.invoke(PACLInvocationHandler.java:51) at $Proxy119.updateLayoutSetPrototypeLinkEnabled(Unknown Source) at com.liferay.portal.service.LayoutSetServiceUtil.updateLayoutSetPrototypeLinkEnabled(LayoutSetServiceUtil.java:97) at com.liferay.portlet.sites.util.SitesUtil.updateLayoutSetPrototypeLink(SitesUtil.java:1493) at com.liferay.portlet.sites.util.SitesUtil.updateLayoutSetPrototypesLinks(SitesUtil.java:1150) at com.liferay.portlet.usersadmin.action.EditUserAction.updateUser(EditUserAction.java:714) at com.liferay.portlet.usersadmin.action.EditUserAction.processAction(EditUserAction.java:147) at com.liferay.portal.struts.StrutsPortletActionAdapter.processAction(StrutsPortletActionAdapter.java:60)