Uploaded image for project: 'PUBLIC - Liferay Social Office Community Edition'
  1. PUBLIC - Liferay Social Office Community Edition
  2. SOS-1730

Private Messaging portlet does not distinguish between sites and organizations when excluding set of users has been configured


    • Branch Version/s:
    • Backported to Branch:
    • Fix Priority:
    • Affects Portal Version/s:


      Steps to reproduce:

      1 - Configure the private messaging portlet with this properties:


      For the default site "Liferay.com" the site name is "guest". This configuration means that all the users which belong to Liferay will be excluded in the dropdown list "To"

      2- Create a Site A
      3- Create a Site B
      4- Create an Organization (Organization CC)
      5- Create a user X and assign it to Site A, Liferay.com and Organization CC
      6- Create a user Y and assign it to Site B, Liferay.com and Organization CC
      7- Add Private messaging Portlet to the guest site so both users can see it
      8- Log in Liferay as user X, Click on "New Message" -> "To", note that user Y is displayed
      9- Log in Liferay as user Y, Click on "New Message" -> "To", note that user X is displayed

      Expected behavior: User X shouldn't find user Y in the recipient list and viceversa, since the recipient list is based on site membership and the default "Liferay" site (the only both X and Y are members of) is excluded.

      Current behavior: User X finds user Y in the recipient list and viceversa.

      Same test has been carried out with Chat portlet and My Sites Directory Portlet, which also include the feature to exclude users by site. In both of them user list does not contain users that are members of excluded sites, even if they belong to the same Organization.


          Issue Links



              • Votes:
                0 Vote for this issue
                0 Start watching this issue


                • Created:
                  Days since last comment:
                  6 years, 35 weeks, 1 day ago


                  Version Package
                  2.1.X CE
                  2.1.0 EE GA3
                  3.0 EE GA1
                  3.0 CE GA1