We currently lack any migration functionality for static (MD defined) permission sets.
We have the following uses cases for migrating them:
- a permission set has been renamed
- a permission set has been removed
- a permission set has been modfied (permissions added or removed)
In each of these cases a permission set might be in use (assigned to a user).
Propose how to handle permission migration to address the above cases.
The solution will likely require a proposal for a tenant API call for notifying mod-permissions that permissions are being migrated during module uninstall/upgrade.