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

In documents and media the pagination not counts Global site

Details

    Description

      Description

      If a non admin user wants to select images from documents and media, the Global site is visible but the pagination total shows one less 

      Steps to reproduce:

      1. Set the following property in portal-ext.properties to ease new user
        registration:company.security.strangers.verify=false
      1. Start the bundle and login as admin
      2. Go to Control Panel → Sites → Sites and create 10 public and 4 private or restricted sites
      3. Go to Control Panel → Roles → Site Roles and create a new site role
      4. Editing the Role: go to Define Permissions → Site and Asset Library Administration → Content & Data → Web Content and tick every permission until Web Content Feed 
      5. Editing the Role: go to Define Permissions → Site and Asset Library Administration → Content & Data → Documents & Media and tick every permission until Shortcut
      6. Create a new User in Control Panel → Users → Users and Organizations
      7. Edit the User:
        1. Memberships: set it to a public site
        2. Roles: Site Role: chose the freshly created one
        3. Password: set up a password for the user
      8. Sign in with a freshly created User
      9. Go to My sites and chose the only option
      10. It will redirect to the Web Content screen. Go to new web content and click on Image
      11. Go to Sites and Libraries and observe the pagination

      Expected Result:

      The pagination will show the number of pages where the user has access - including the Global site

      Actual Result:

       The Global site is visible, but it does not counts at the pagination total

      Attachments

        Issue Links

          Activity

            People

              beck.liu Beck Liu
              roland.pakai Roland Pákai
              Austin Chiang Austin Chiang
              Roland Pákai Roland Pákai
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                1 year, 9 weeks, 5 days ago

                Packages

                  Version Package
                  7.3.10.3 DXP SP3
                  7.3.X
                  7.4.13 DXP GA1
                  7.4.3.4 CE GA4
                  Master