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

View permission for asset category is ignored

    Details

      Description

      Steps to reproduce in master:

      1. Create a new regular role, Spain
      2. Create a new user and assign the Spain role
      3. Edit permission for Topic and check view permission for Spain and Guest
      4. Create a category
      5. Create two subcategories, Spain and USA
      6. Edit permission for Spain and check view permission for Spain role and uncheck view permission for guest
      7. Edit permission for EEUU and uncheck view permission for guest
      8. Add in a page the categories navigation portlet, logout and login with the new user

      Expected result:

      You shouldn't see the EEUU category

      Actual result:

      You see Spain and EEUU category

      Steps to reproduce in 6.2.x:

      1. Create a new regular role, Spain
      2. Create a new user and assign the Spain role
      3. Edit permission for Topic and check view permission for Spain and Guest
      4. Create a category, Countries
      5. Create two subcategories, Spain and USA
      6. Edit permission for Spain and check view permission for Spain role and uncheck view permission for guest
      7. Edit permission for EEUU and uncheck view permission for guest
      8. Creates a web content and set all the categories
      9. Add an asset publisher on a page
      10. Configure the web content to show the categories
      11. Log out and log in with the new user

      Expected result:

      You shouldn't see the EEUU category

      Actual result:

      You see Spain and EEUU category

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  6 years, 13 weeks, 3 days ago

                  Packages

                  Version Package
                  6.2.2 CE GA3
                  6.2.X EE
                  7.0.0 M1