Details

      Description

      Steps to reproduce:

      1. Create new organization
      2. Create new organization role
      3. Add all permission from section "Organization Administration"
      4. Create new user, assign him to created organization and assign him created role
      5. Log as the new user
      6. Go to Control Panel -> Users and Organization
      7. Choose your organization
      8. Choose your user (the same as the one you are logged in right now)
      9. 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)
      

        Attachments

        1. step1.png
          step1.png
          43 kB
        2. step1.png
          step1.png
          43 kB
        3. step2.png
          step2.png
          55 kB
        4. step2.png
          step2.png
          55 kB
        5. step3.png
          step3.png
          14 kB
        6. step3.png
          step3.png
          14 kB
        7. step4.png
          step4.png
          14 kB
        8. step4.png
          step4.png
          14 kB

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                5 years, 2 weeks ago