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

When staging is enabled, users are unable to subscribe to web content email notifications

    Details

      Description

      The ability to subscribe to email notifications for updated, added, etc. web content assets is present in a non-staged environment (the "subscribe" star); but in environments with staging enabled, users are unable to subscribe to changes made to the content, as the feature is no longer present.

      This is due to the scopeGroupId being used during permission checks.  The scopeGroupId points to the live site, which user's aren't granted to subscribe permission to.  Instead, we may need to use the staging group or possibly something else entirely.

      Issue seems related to LPS-54837, which was fixed.

      Steps to Reproduce

      1. Create two sites ("Non-staged Site" and "Staged Site"), and enable staging for the Staged Site
      2. Create a regular role "Basic Role" and give it the following permissions (in Define Permissions: Site Administration > Content > Web Content):
      -Web Content: Access in Site Administration
      -Web Content > Web Content: Subscribe
      -Web Content > Web Content: View
      -Web Content > Web Content Folder: Subscribe
      -Site Settings > Site: View Site Administration Menu (This one is automatically added when saving the above permissions)
      3. Create a user "Basic User," give him the Basic Role, and assign him to the two sites
      4. Sign out, sign in as Basic User, and navigate (once on each site) to [Site_Administration] > Content > Web Content > "i"

      Results of Testing

      Expected Result: The "subscribe" star would be present in both sites for users to receive email subscriptions for web content changes
      Actual Result: The "subscribe" star is present for the Basic User within the Non-staged site, but is missing within the Staged site

      Errors/Logs

      No errors

      Master

      Reproduced.
      Hash#: 229f023f4d3ea2f827d8b070724331fb6154576d

      Branch

      Reproduced
      Hash#: c7b581e7cd627f8f1290582cd32d3d08552a41f2

       

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                joyce.wang Joyce Wang
                Reporter:
                christopher.kian Christopher Kian
                Participants of an Issue:
                Recent user:
                Brian Wulbern
                Engineering Assignee:
                Christopher Kian
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  1 year, 1 day ago

                  Packages

                  Version Package
                  7.0.0 DXP FP86
                  7.0.X
                  7.1.10 DXP FP13
                  7.1.X
                  7.2.10 DXP FP2
                  7.2.10.1 DXP SP1
                  7.2.X
                  7.2.1 CE GA2
                  Master