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

Should not show Powser user in viewable permission list when uploading a document in global scope

    Details

    • Branch Version/s:
      6.1.x
    • Backported to Branch:
      Committed
    • Story Points:
      2

      Description

      reproduce step:
      1. Go to Control Panel.
      2. Choose "Global" context.
      3. Click "Documents and Media"
      4. Select "Add" -> "Basic Document"
      5. Choose some file, input Title and Description.
      6. In "Permissions" section, set viewable by "Power Users".
      7. Click "Publsh"
      8. Check file permission, you will find user role has view permission but Power user role does not have.

      actually we show wrong ui inforamtion (Power user) for font user, it is should "User" option.

      Refer to: getDefaultGroupRole method of RoleLocalServiceImpl class

        Issue Links

          Activity

          Hide
          pani.gui Pani Gui (Inactive) added a comment -

          PASSED Manual Testing following the steps in the description.

          Reproduced on:
          Tomcat 7.0 + MySQL 5. Portal 6.1.20 EE GA2.

          Showing Powser User in viewable permission list when uploading a document in global scope.

          Fixed on:
          Tomcat 7.0 + MySQL 5. Portal 6.1.x EE GIT ID: 69ae15db40c4ae993e5edc15e9f546dd8bd67624.
          Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: a3d4af266c3d57132b4070f8451f46f976feae2b.

          Powser User is removed from viewable permission list.

          Show
          pani.gui Pani Gui (Inactive) added a comment - PASSED Manual Testing following the steps in the description. Reproduced on: Tomcat 7.0 + MySQL 5. Portal 6.1.20 EE GA2. Showing Powser User in viewable permission list when uploading a document in global scope. Fixed on: Tomcat 7.0 + MySQL 5. Portal 6.1.x EE GIT ID: 69ae15db40c4ae993e5edc15e9f546dd8bd67624. Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: a3d4af266c3d57132b4070f8451f46f976feae2b. Powser User is removed from viewable permission list.

            People

            • Assignee:
              pani.gui Pani Gui (Inactive)
              Reporter:
              dale.shan Dale Shan
              Recent user:
              Esther Sanz
              Participants of an Issue:
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                3 years, 44 weeks ago

                Development

                  Subcomponents