Uploaded image for project: 'Okapi'
  1. Okapi
  2. OKAPI-953

SPIKE: soft delete and permission migration during downgrade

    XMLWordPrintable

Details

    • CP: sprint 102, CP: sprint 103
    • 1
    • Core: Platform
    • R1 2021

    Description

      While discussing OKAPI-839 we have identified that current approach of removing permission sets that have been explicitly removed from the ModuleDescriptor and dropping them from User/Permission objects may cause problems for downgrades.

      A potential mitigation approach is to perform a "soft" delete during upgrade: mark the permission sets are "removed" and "hide" the User/Permission associations. On downgrade, restore these associations.

      See https://wiki.folio.org/display/DD/Migration+of+Static+Permissions+Upon+Upgrade

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                cmcnally Craig McNally
                jakub Jakub Skoczen
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases