SPIKE: soft delete and permission migration during downgrade

Description

While discussing 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://folio-org.atlassian.net/wiki/display/DD/Migration+of+Static+Permissions+Upon+Upgrade

Environment

None

Potential Workaround

None

Checklist

hide

TestRail: Results

Activity

Show:
Done

Details

Assignee

Reporter

Priority

Story Points

Sprint

Development Team

Core: Platform

Release

R1 2021

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs
Created November 17, 2020 at 5:16 PM
Updated January 25, 2021 at 10:42 AM
Resolved December 8, 2020 at 3:53 PM
TestRail: Cases
TestRail: Runs