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

portlet's site role missed (type=2) when add one layout by using page template in orgSite

    Details

      Description

      1. Create a new Organization "org".
      2. Create a Site for your Organization (enable "Create Site").
      3. Create one page template named "pageTemplate"(plid:21443 in layout table)
      4. Go to the "pageTemplate" page (http://localhost:8080/group/template-21439),, place Asset Publisher portlet in the "pageTemplate".
      5. Click > Configuration>Permissions, check "Site Member" role permission: "Subscribe" and "View" are checked.
      Go to resourcepermission table,
      You will find the following datas:
      primKey=21443_LAYOUT_com_liferay_asset_publisher_web_portlet_AssetPublisherPortlet_INSTANCE_vrgiCi3QejMx
      roleId:20132 (Site Member)
      actionIds:5(Subscribe(4) + View(1));
      6. Go to "org" site->Site Pages, add page (named "org page"((plid:21461 in layout table))) by using "pageTemplate".
      7. Go to resourcepermission table, using primKey=21461_LAYOUT_com_liferay_asset_publisher_web_portlet_AssetPublisherPortlet_INSTANCE_vrgiCi3QejMx to search.

      Actual Behavior: We won't find roleId:20132 (Site Member) in search result:
      Expected Behavior: We should find roleId:20132 (Site Member) in search result as the same as primKey=21443_LAYOUT_com_liferay_asset_publisher_web_portlet_AssetPublisherPortlet_INSTANCE_vrgiCi3QejMx

        Attachments

          Activity

            People

            Assignee:
            ian.song Ian Song (Inactive)
            Reporter:
            hai.yu Hai Yu
            Participants of an Issue:
            Recent user:
            Esther Sanz
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              4 years, 49 weeks, 3 days ago

                Packages

                Version Package
                7.0.0 Alpha 3