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

    • Type: Technical Task
    • Status: Closed
    • Priority: Minor
    • Resolution: Completed
    • Affects Version/s: None
    • Fix Version/s: Master
    • Component/s: Dynamic Data Mapping
    • Labels:
      None

      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

              Assignee:
              jeyvison.nascimento Jeyvison Nascimento (Inactive)
              Reporter:
              arthur.chen Arthur Chen
              Recent user:
              Victor Galan
              Participants of an Issue:
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                3 years, 7 weeks, 4 days ago

                  Packages

                  Version Package
                  Master