Uploaded image for project: 'Contacts App'
  1. Contacts App
  2. CNTCTSAPP-85

Remove permissions for demo-project-base role in Contacts App to fix migration delta

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Neutral
    • 1.2.3, 1.3.2
    • 1.2.2, 1.3.1

    Description

      Remove permissions for demo-project-base role in Contacts App which is causing migration tests for 4.5 > 5.2.x and 4.5 > 5.3.x to fail.

      Specifically, the following node:

      <permissions sv:name="permissions">
        <roles sv:name="roles">
          <demo_project_base sv:name="demo-project-base" sv:type="String">demo-project-base</demo_project_base>
        </roles>
      </permissions>
      

      Logic for version handler for any version above 1.2:

      • If permissions node exist
        • If it contains a single roles node – and no other nodes
          • If roles node contains single demo_project_base property – and no other properties
            • Remove the permissions node

      Write unit test for this

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                peili.liang Peili Liang
                cheng.hu Cheng Hu
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Bug DoR
                    Task DoD