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

Cannot create a webcontent with a structure from a parent site in case of removing Guest view permissions and adding them to a site role

    Details

    • Fix Priority:
      4

      Description

      Steps to reproduce

      1. Create a site called "ParentSite"
      2. Add a page to created site
      3. Add a wc structure to this site and call it "ParentSiteStructure"
      4. Create a site called "ChildSite", configure "ParentSite" as its parent site
      5. Add a page to created site
      6. Create a site role "SiteRole1" with following permissions:
        Site Settings > Site: View Site Administration Menu
        Web Content: Access in Site Administration
        Web Content: View
        Web Content > Web Content: Add Web Content
        Web Content > Web Content: View
        Web Content > Web Content Article: View
        Web Content > Web Content Structure: View
        Web Content > Web Content Template: View
        
      7. Create a user called "User1"
      8. Set "SiteRole1" to "User1"
      9. Add "User1" to "ChildSite"
      10. Logout from administrator user and login using "User1"
      11. Go to "ChildSite"
      12. Go to Content => Webcontent section, and click in "+" button
      13. "ParentSiteStructure" should be displayed in structure list
      14. Logout from "User1" user and login using an administrator user
      15. Go to "ParentSite"
      16. Change "ParentSiteStructure" permissions:
        • Remove "view" permissions to Guest role.
        • Check "SiteRole1" is displayed in permissions window with "view" enabled
        • Save changes
      17. Logout from administrator user and login using "User1"
      18. Go to "ChildSite"
      19. Go to Content => Webcontent section, and click in "+" button
        • Wrong behavior: "ParentSiteStructure" is not displayed in structure list
        • Expected behavior: "ParentSiteStructure" is displayed in structure list

        Attachments

          Activity

            People

            Assignee:
            jorge.diaz Jorge Diaz
            Reporter:
            jorge.diaz Jorge Diaz
            Participants of an Issue:
            Recent user:
            Jorge Diaz
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

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

                Packages

                Version Package