Uploaded image for project: '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

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  5 years, 41 weeks, 4 days ago