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

Site members and guests cannot view the default widgets on Global Template page

    Description

    Steps to Reproduce:

    1. Create a new blank site.
    2. Add a new Public Page > Global Templates > Blog
    3. Add a new user
    4. Add this user as a member of the new site.
    5. Log in as the new user.
    6. Navigate to the blog template page.

    Expected Results:
    User can view all the default widgets in the blog template page.

    Actual Results:
    The message "You do not have the roles required to access this portlet." displays in all widgets.

    Note: This happens for the Search and Wiki global templates as well. The issue may have to do with how permissions are set by default for global page template widgets. Specifically, there are not as many permissions set for the default widgets on a template page compared to the same widgets that a user manually adds to the page. I verified that adding the view permissions for the Site Member will then allow the new site member to view the template widgets.

    Reproduced on:
    Tomcat 9.0.10 + MySQL 5.7 Portal master GIT ID: 08c77dba2cbe1ba49aa1de2e8945236ab5f96c8c
    Portal 7.1.x GIT ID: 5140bc845a4b70673790fd5774e4b19a7fc00211

      Attachments

        Issue Links

          Activity

            People

            Assignee:
            summer.zhang Summer Zhang
            Reporter:
            summer.zhang Summer Zhang
            Participants of an Issue:
            Recent user:
            Yunlin "Steven" Sun
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

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

                Packages

                Version Package
                7.0.0 DXP FP94
                7.0.10.15 DXP SP15
                7.0.X
                7.1.10 DXP FP3
                7.1.1 CE GA2
                7.1.10.1 SP1
                7.1.X
                Master