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

Cannot search for roles using quotes when editing permissions

Details

    Description

      Issue
      There is an inconsistency between searching for roles in Control Panel > Roles, and searching for roles when editing an asset's permissions.

      For example, you can use quotation marks to look for an exact search on Control Panel > Roles > Site Roles for "site content". This will result in "Site Content Reviewer" being returned. However, when performing the same search on a Web Content's permissions, searching for "site content" results in 0 results.

      This is demonstrative of an OOTB role, but the customer's side has nearly a hundred roles making it difficult to search exact phrases.

      From a UX perspective, it seems that there is an inconsistency in how search works for the same set of roles depending on where you are on the UI.

      Steps to reproduce
      1. Install Liferay DXP 7.3 update 18
      2. Start Liferay
      3. Open Control Panel > Roles > Site Roles
      4. Search for "site content" (with quotes)
      5. Assert that Site Content Reviewer is returned
      6. Go to Liferay DXP (site) > Content & Data > Web Content, and Create a Basic Web Content with any info, then publish it.
      7. Edit the permissions of the newly created Web Content article
      8. In the search bar, search for "site content" (with quotes)

      Actual Results
      No results are returned. However, if we remove the quotation marks, Site Content Reviewer is returned.

      Expected Behavior
      Consistent search behavior should be present (i.e., double quotes should return Site Content Reviewer) on permissions search on assets.

      Reproduced in

      • Liferay DXP 7.3 U18
      • 7.3.X-private Commit: 7e4991547ac861000b239cc469a2afb0d60ec3ee
      • Master-private Commit: 8fe3a66c8025121dea2ee7347161b316c1fed871

      Attachments

        Issue Links

          Activity

            People

              melody.wu Melody Wu
              to.trinh To To Trinh
              Enterprise Release HU Enterprise Release HU
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                11 weeks, 4 days ago

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 5 hours
                  5h

                  Packages

                    Version Package
                    7.4.13 DXP U68
                    Master