OKAPI-839 we have identified a potential issue with overwriting existing permission sets during install/upgrade.
It's possible that a user-defined permission set may clash with a module-supplied permission set.
Potential approaches (best to worse):
- "scope" the permissions so that the clash between user-defined and module-provided permissions is not possible
- compare the "mutable" flag to check if the permission set has been created by the user and if so, rename it to e.g "USER_CREATED.xxx" and update user association
- stop the migration when clash is detected
- Investigate and evaluate how disruptive is the scoping solution. If it is deemed to disruptive evaluate solution number to rename user created permissions.