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

No categories showing in CategoriesSelector

    Details

      Description

      Steps to reproduce

      1. Configure a clean Dxp instance and create in LIFERAY_HOME a portal-ext.properties file with the property "asset.categories.selector.max.entries=5".
      2. Start server and log in with admin user
      3. Create site role "Role1"
      4. Define permissions for Role1 giving every general permission in Site Administration -> Web Content and permission to add Web Content in Resource Permissions.
      5. Create a new user "User1"
      6. In any site go to Site Membership-> Assign Users > User1
      7. In site, assign User1 site role -> Role1
      8. In site > -Content > Categories create vocabulary "Vocab1" in permissions select anyone
      9. In Vocab1 create 6 categories with permissions given only to the owner (cat1,...,cat6)
      10. Give Role1 permission to view only cat6

      Just to reproduce it in master:

      • Copy attached file com.liferay.test.portlet-1.0.0.jar to bundle's LIFERAY_HOME/deploy
      • With administrator user: define permissions for "Role1" and give permission: Site Settings > Site: View
      • Add portlet "lps_73914_test Portlet" in "sample" category to main page
      • Log in as User1
      • Inside the portlet click in Select button under "Vocab1"

      Just to reproduce it in 6.2.x/7.0.x:

      • Log in as User1
      • Go to Site -> Content -> Web Content -> Add Basic Web content
      • In Metadata section under Vocab1 click on "Select"

       

      Expected result

      User1 only sees cat6 and can assign it to the new content

       

      Actual Result

      User1 doesn't see any category in CategorySelector

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              hong.zhao Hong Zhao
              Reporter:
              javier.moral Javier Moral
              Participants of an Issue:
              Recent user:
              Csaba Turcsan
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                3 years, 7 weeks, 4 days ago

                  Packages

                  Version Package
                  7.0.0 DXP FP31
                  7.0.5 CE GA6
                  7.0.X
                  7.1.X
                  Master