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
    • Similar Issues:
      Show 5 results 

      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

        Activity

        Hide
        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 (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 (Inactive)
            Reporter:
            Dale Shan
            Recent user:
            Randy Zhu
            Participants of an Issue:
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Days since last comment:
              2 years, 8 weeks, 1 day ago

              Development

                Structure Helper Panel