Uploaded image for project: 'Migration Platform'
  1. Migration Platform
  2. MIG-958

JCMA is creating duplicate permission schemes

XMLWordPrintable

    • 155
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      Update

      This is an expected behaviour from JCMA. This is a side effect of the current design and is consistent with all the entities. We are working on improving upon it.


      Issue Summary

      When the projects are sharing the same permission scheme but have different sets of "User and roles", duplicate permission schemes will be created.

      Steps to Reproduce

      1. Create a new permission scheme, Scheme A, grant different roles to "Browse projects" permission. ie, Administrators, Developers, Users
      2. Create 4 different projects, make sure they are using the same permission scheme
      3. Edit "Users and roles" for each project:
        • On Project A, set a user/group to only "Administrators" role
        • On Project B, set a user/group to all 3 roles: Administrators, Developers, Users
        • On Project C, set a user/group to 2 roles: Administrators, Users
        • On Project D, set a user/group to 2 roles: Administrators, Users
      4. Attempt to migrate these 4 projects to Cloud, using JCMA.
        • Users and groups: All users and groups
        • Group membership: Preserve group membership

      Expected Results

      Only 1 permission scheme is created because the projects are sharing the same permission scheme.

      Actual Results

      3 permission schemes are created, for each set of "Users and roles".

      Workaround

      Option 1: Migrate in two steps (This will be the default behaviour after Duplicate fix for Permission Scheme entity) - Recommended

      • First migrate all the projects of type Business (Attachment Test, Business, Migration, Test Issue Linking) followed by migration of Software project (TEST). 
      • This will create only two new permission schemes for the customer as shown in Screenshot3. 

      Option 2: Modify the permission grant 

      • Update the permission grant for Manage Sprint permission in the Permission scheme to remove all the values from the Granted to section as shown in the screenshot4. 
      • Migrating all the projects in a single plan. In this case all the 5 projects will be mapped to single permission scheme as shown in screenshot5.
          
      • Update the Manage Sprint role in the permission scheme migrated on cloud. (Important)

        1. Screenshot1.png
          Screenshot1.png
          562 kB
        2. Screenshot2.png
          Screenshot2.png
          548 kB
        3. Screenshot3.png
          Screenshot3.png
          539 kB
        4. Screenshot4.png
          Screenshot4.png
          567 kB
        5. Screenshot5.png
          Screenshot5.png
          406 kB

              f59a47fa52a5 Rahil Hameed
              cteh Ting (Chiou Ting Teh)
              Votes:
              53 Vote for this issue
              Watchers:
              69 Start watching this issue

                Created:
                Updated: