PUBLIC - Liferay Portal Community Edition
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-22719

Disabled view permissions for a portlet are not imported when importing a LAR

    Details

    • Epic/Theme:
    • Fix Priority:
      3
    • Similar Issues:
      Show 5 results 

      Description

      When importing a LAR file to a portlet, view permissions aren't properly imported. If a view permission is flagged, it will be imported. However, or the user unflags a view permission, that disabled view permission won't be imported.

      Steps to reproduce:

      1. Add a Blogs, Wiki, or Documents and Media portlet
      2. Click Wrench Icon > Configuration > Permissions tab
      3. Disable Guest view permissions for the portlet
      4. Enable User view permissions for the portlet
      5. Export the LAR for the portlet (be sure to flag the Permissions check box when exporting)
      6. Remove the portlet and add the portlet again to reset the portlet's permissions configuration
      7. Import the LAR from Step 4 (be sure to flag the Permissions check box when importing)
      8. Click Wrench Icon > Configuration > Permissions tab
      9. Notice that User view permissions is flagged as it ought to be, but Guest view permissions is also flagged. Guest view permissions should be unflagged because the user unflagged it in Step 3.

        Issue Links

          Activity

          Hide
          Brian Chiu added a comment -

          Reproduced on:
          Tomcat 6.0.33 + MySQL 5. 6.0.x Revision: 93657.
          Tomcat 7.0.22 + MySQL 5. 6.1.x Revision: 93657.

          The same issue also occurs for Documents and Media files.

          Show
          Brian Chiu added a comment - Reproduced on: Tomcat 6.0.33 + MySQL 5. 6.0.x Revision: 93657. Tomcat 7.0.22 + MySQL 5. 6.1.x Revision: 93657. The same issue also occurs for Documents and Media files.
          Hide
          Kristoffer Onias added a comment -

          Consolidated duplicate issues:
          LPS-21844
          LPS-23328
          LPS-23359

          Show
          Kristoffer Onias added a comment - Consolidated duplicate issues: LPS-21844 LPS-23328 LPS-23359
          Hide
          Luyang Tan (Inactive) added a comment -

          Able to reproduce on:
          Tomcat 6.0.33 + MySQL 5. 6.0.x Revision: 95200.
          Tomcat 7.0.23 + MySQL 5. 6.1.x Revision: 95200.

          Show
          Luyang Tan (Inactive) added a comment - Able to reproduce on: Tomcat 6.0.33 + MySQL 5. 6.0.x Revision: 95200. Tomcat 7.0.23 + MySQL 5. 6.1.x Revision: 95200.
          Hide
          Brian Chiu added a comment - - edited

          Hi Sunny,

          I've retested this issue, and I can no longer reproduce it, so I am closing this ticket.

          Unable to reproduce on:
          Tomcat 7.0.23 + MySQL 5. 6.1.x GIT ID: 13b2d52906fe330e1846a9b8453a6cbbe1b86b7c.
          Tomcat 7.0.23 + MySQL 5. 6.2.x GIT ID: 648600576158ac676522e06f302e1d3edc59902d.

          Show
          Brian Chiu added a comment - - edited Hi Sunny, I've retested this issue, and I can no longer reproduce it, so I am closing this ticket. Unable to reproduce on: Tomcat 7.0.23 + MySQL 5. 6.1.x GIT ID: 13b2d52906fe330e1846a9b8453a6cbbe1b86b7c. Tomcat 7.0.23 + MySQL 5. 6.2.x GIT ID: 648600576158ac676522e06f302e1d3edc59902d.

            People

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

              Dates

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

                Development

                  Structure Helper Panel