PUBLIC - Liferay Portal Community Edition
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-32149

As a portal administrator I can filter the visible set of users in the Chat portlet

    Details

    • Branch Version/s:
      6.1.x
    • Backported to Branch:
      Committed
    • Technical Documentation Required:
      Needs Documentation
    • Epic/Theme:
    • Similar Issues:
      Show 5 results 

      Description

      The goal of this story is to introduce additional options to allow filtering the users that can be found by a particular user in the Chat portlet.

      How to test this feature:

      1. Log in as a portal admin.
      2. Add two sites: "Development" and "Management".
      3. Add three users: A, B and C. Make them all members of the default site "Liferay.com". Besides, make A member of "Development" and B and C members of "Management".
      4. Edit the portlet.properties file of the chat portlet, located under WEB-INF/classes
      5. Add "sites" to the buddy list strategy. For example, if the existing strategy is "friends" and it wants to be preserved, "friends,sites" should be used.

      buddy.list.strategy=sites
      

      6. Set the list of site names which users want to be excluded from the buddy list. The site name is the value of the column "name" for the table "Group". It must be written in the same letter case as in the database. For the default site "Liferay.com" the site name is "guest".

      buddy.list.site.excludes=Guest
      

      7. Deploy the chat portlet.

      8. Login as A, B and C in different browsers and check the buddy list in the chat portlet:

      • A cannot see B and C
      • B and C cannot see A
      • B and C can see each other

      Thus, despite A, B and C are all members of "Liferay.com", they are not visible in the chat list through this membership, because the site has been excluded from the list. Only members of the same non-excluded sites are visible.

        Issue Links

          Activity

          Hide
          Sharon Choi added a comment -

          PASSED Manual Testing following the steps in the description.

          Fixed on:
          Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: cf60e9ef9b44c04d52ec45714f463bf1f76dae7a.
          Plugins 6.2.x GIT ID: bc2c45ed9bb419d077612cbce53b343ec6fe844c.

          Filtering the visible set of users defined by site in the Chat portlet appears to be working successfully, but a lag-time of when the users appear upon first login occurs.

          Show
          Sharon Choi added a comment - PASSED Manual Testing following the steps in the description. Fixed on: Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: cf60e9ef9b44c04d52ec45714f463bf1f76dae7a. Plugins 6.2.x GIT ID: bc2c45ed9bb419d077612cbce53b343ec6fe844c. Filtering the visible set of users defined by site in the Chat portlet appears to be working successfully, but a lag-time of when the users appear upon first login occurs.

            People

            • Assignee:
              Sharon Choi
              Reporter:
              Eduardo Garcia
              Recent user:
              Randy Zhu
              Participants of an Issue:
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development

                  Structure Helper Panel