Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-84801 Permissions of asset are not copied over when making a copy of the asset
  3. LPS-84864

DDMStructureLocalSerivce and DDMTemplateLocalService do not retain resource permission after copying

Details

    Description

      For example:
      1. Go to Design --> Widget Tempates
      2. Create a template
      3. Click the option button and choose permissions.
      4. Set several permission other than those default ones, and save.
      5. Click the option button and choose copy.

      Expected: The new copy of template should have permissions that were manually set.
      Actual: The new copy of the DDM template only have those default ones.

      DDMTemplateLocalServiceImpl.copyTemplate()
      DDMStructureLocalServiceImpl.copyStructure()
      should have similar logic to https://github.com/brianchandotcom/liferay-portal/pull/62906/files#diff-4580e45477b19f3563a39bd48e7cadb109fa3df147670b86d30a9f85859122f6R1029-R1031

      Attachments

        Issue Links

          Activity

            People

              jeyvison.nascimento Jeyvison Nascimento (Inactive)
              arthur.chen Arthur Chen
              Kiyoshi Lee Kiyoshi Lee
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                4 years, 5 weeks, 5 days ago

                Packages

                  Version Package
                  7.4.13 DXP GA1
                  Master