Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-126159

Custom field's permissions avoid to publish Content Pages

Details

    Description

      A user with site permissions to create and publish a content page, will not be able to publish the page if some custom field exists without permissions for this user. 

      Any message or warning is not showed at all.

       Steps to reproduce

      1. Create a custom field for pages.
      2. Create a role with permissions to add pages and contents.
      3. Create a new user and assign the role created in last step.
      4. Create a new Content Page with the new user, add some fragment and click on publish button.

       Current behavior

      The page just refresh, any message or warning is not showed at all (publishing-content-pages-with-custom-fields.mov). However, some traces are showed into the catalina.out file (error-log-publishing-content-pages-with-custom-fields.log).

      2021-01-18 17:19:21.934 ERROR [http-nio-8009-exec-6][PortletServlet:119] javax.portlet.PortletException: java.lang.Exception: java.lang.RuntimeException: com.liferay.portal.kernel.security.auth.PrincipalException$MustHavePermission: User 45294 must have UPDATE permission for com.liferay.expando.kernel.model.ExpandoColumn 37220 javax.portlet.PortletException: java.lang.Exception: java.lang.RuntimeException: com.liferay.portal.kernel.security.auth.PrincipalException$MustHavePermission: User 45294 must have UPDATE permission for com.liferay.expando.kernel.model.ExpandoColumn 37220

       
       Expected behavior

      Some message (or warning) is showed after publish (or not publish) the page. 

       

       

      Attachments

        Issue Links

          Activity

            People

              joseph.pak Joseph Pak
              josemaria.munoz José María Muñoz
              Kiyoshi Lee Kiyoshi Lee
              Ruben Pulido Ruben Pulido
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                2 years, 17 weeks, 6 days ago

                Packages

                  Version Package
                  7.2.10 DXP FP11
                  7.2.10.4 DXP SP4
                  7.2.X
                  7.3.10 DXP FP1
                  7.3.10.1 DXP SP1
                  7.3.6 CE GA7
                  7.3.X
                  7.4.13 DXP GA1
                  Master