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

Both success message and error message "You don't have the required permissions" occur when user revokes "Permissions" permission from a role that granted this action to the given user

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Won't Fix
    • Affects Version/s: 7.0.0 DXP SP7, 7.0.5 CE GA6, 7.0.0 DXP FP45, 7.0.X, Master
    • Fix Version/s: None
    • Labels:
    • Story Points:
      1
    • Fix Priority:
      3

      Description

      Admin creates new Metadata set and sets permission for user so he can modify permissions for other users. When user removes permission for himself, there is both error and success message displayed.

      It works for Document type but not for Metadata set. Permission is removed as expected, only problem is with error and success messages.

       Steps:

      1. Navigate to Content -> Documents and Media -> Metadata sets
      2. Admin sets permission for user to modify permissions for selected Metadata set
      3. User removes himself permission "Permissions" for selected Metadata set

      Expected result: Only success message is displayed
      Actual result: Two error messages + One success message displayed

      Reproducible:

      • CentOS, MySQL 5.6, Tomcat 9.0.6, FF 59.0.2
      • 7.0.x nightly Master git ID: e608b67c9d2b84f40721bf28f036d4186f81a520, 7.0.5 GA6

      Fix priority: S3 + L3 = 3

        Attachments

        1. bug.png
          bug.png
          33 kB
        2. permissionError.gif
          permissionError.gif
          1.56 MB
        3. Screen Shot 2018-05-29 at 2.53.52 PM.png
          Screen Shot 2018-05-29 at 2.53.52 PM.png
          123 kB
        4. Site Content Reviewr.png
          Site Content Reviewr.png
          48 kB

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                16 weeks, 1 day ago

                Packages

                Version Package