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

Single Asset Publish: Non Admin users cannot publish web content articles to Live

    Details

      Description

      Note that non admin users can publish web content folders (that have articles in them) but cannot publish web content articles themselves. I've attached a video ( Can publish folders but not articles.mp4 )

      Reproduction steps:

      1. Enable Staging
      2. Create a Web Content
      3. Create a new Regular Role on Staging and Live with the following permissions:
        Control Panel -> Sites -> Site -> All permissions
        Site Administration -> Content -> Web Content -> All permissions
      4. Create the same User on Staging and Live and assign the previously created Role
      5. Sign in with the new User
      6. Publish the Web Content to Live

      Result: Publication fails and there is a warning in the console.

      2018-06-21 20:16:01.603 WARN  [http-nio-8080-exec-9][SecurityPortletContainerWrapper:395] User 38007 is not allowed to access URL http://localhost:8080/group/test-staging-site-staging/~/control_panel/manage and portlet com_liferay_exportimport_web_portlet_ChangesetPortlet


      If I copy the URL that user is redirected to, it is this:

      http://localhost:8080/group/test-staging-site-staging/~/control_panel/manage?p_p_id=com_liferay_exportimport_web_portlet_ChangesetPortlet&p_p_lifecycle=1&_com_liferay_exportimport_web_portlet_ChangesetPortlet_javax.portlet.action=exportImportChangeset&_com_liferay_exportimport_web_portlet_ChangesetPortlet_mvcRenderCommandName=exportImportChangeset&_com_liferay_exportimport_web_portlet_ChangesetPortlet_cmd=publish&_com_liferay_exportimport_web_portlet_ChangesetPortlet_backURL=http%3A%2F%2Flocalhost%3A8080%2Fgroup%2Ftest-staging-site-staging%2F~%2Fcontrol_panel%2Fmanage%3Fp_p_id%3Dcom_liferay_journal_web_portlet_JournalPortlet%26p_p_lifecycle%3D0%26p_p_state%3Dmaximized%26p_p_mode%3Dview%26_com_liferay_journal_web_portlet_JournalPortlet_redirect%3Dhttp%253A%252F%252Flocalhost%253A8080%252Fgroup%252Ftest-staging-site-staging%252F%257E%252Fcontrol_panel%252Fmanage%253Fp_p_id%253Dcom_liferay_journal_web_portlet_JournalPortlet%2526p_p_lifecycle%253D0%2526p_p_state%253Dmaximized%2526p_p_mode%253Dview%2526p_p_auth%253D4q8Spa5l%26_com_liferay_journal_web_portlet_JournalPortlet_displayStyle%3Ddescriptive%26_com_liferay_journal_web_portlet_JournalPortlet_showEditActions%3Dtrue%26_com_liferay_journal_web_portlet_JournalPortlet_groupId%3D37829%26_com_liferay_journal_web_portlet_JournalPortlet_folderId%3D38124%26p_p_auth%3D4q8Spa5l&_com_liferay_exportimport_web_portlet_ChangesetPortlet_changesetUuid=72f64a7a-aa09-8fbb-c389-5e68b60c05a9&_com_liferay_exportimport_web_portlet_ChangesetPortlet_portletId=com_liferay_journal_web_portlet_JournalPortlet

      Expected: Publication is successful

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              brian.chiu Brian Chiu (Inactive)
              Reporter:
              tamas.molnar Tamas Molnar
              Participants of an Issue:
              Recent user:
              Brian Wulbern
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                3 years, 24 weeks ago

                  Packages

                  Version Package
                  7.1.X
                  Master