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

Subscription emails sent to Users for Documents in in a Folder the User lacks View permissions on

    Details

      Description

      Issue: Subscription emails sent to Users for Documents in in a Folder the User lacks View permissions on.

      Steps to reproduce
      1. Add properties to the portal-ext.properties to configure an outgoing mail server for Liferay

      mail.session.mail.pop3.host=
      mail.session.mail.pop3.port=
      mail.session.mail.pop3.user=
      mail.session.mail.pop3.password=	
      
      mail.session.mail.imap.host=
      mail.session.mail.imap.port=
      mail.session.mail.imap.user=
      mail.session.mail.imap.password=
      
      mail.session.mail.smtp.auth=true
      mail.session.mail.smtp.host=
      mail.session.mail.smtp.port=
      mail.session.mail.smtp.user=
      mail.session.mail.smtp.password=
      
      mail.session.mail.smtp.starttls.enable=true
      mail.session.mail.smtp.ssl.enable=true
      mail.session.mail.smtp.auth.plain.disable=true
      
      mail.session.mail.store.protocol=pop3
      mail.session.mail.transport.protocol=smtp
      

      2. Start Liferay and login as Administrator
      3. Add a Documents and Media portlet to the page
      4. Add a folder to the Documents and Media portlet. Make sure that only the Owner of the Folder can view its contents.
      5. Add a document to the folder in the Documents and Media portlet
      6. Go to Control Panel > Users & Organizations
      7. Add a new user with a valid email address
      8. Login to the new user and subscribe to the Documents and Media Library
      9. On the admin user, add a Document to the Folder that is viewable to Guest Users.

      Expected behavior: A user should not receive the notification since they lack view permissions on the Folder and dynamic inheritance of permissions are enabled.
      Actual behavior: A user receives notifications for Documents in a Folder that they lack View permissions on

      Tested in 6.2.x and reproduced
      Tested and NOT reproduced in Master

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              yvonne.han Yvonne Han
              Reporter:
              christopher.kian Christopher Kian
              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:
                5 years, 4 weeks ago

                  Packages

                  Version Package
                  6.2.4 CE GA5
                  6.2.X EE