Update uuid and name for admin user group
A new default permission group "Admin" exists since 4.10 (#6856). We need to update all existing "admin" groups to use the same uuid and same case.
UPDATE PermissionGroup SET uuid='1739df71-bf73-4dc6-8320-aaaf72cb555f', name='Admin' WHERE name='admin' or name='Admin'
#5 Updated by Andreas Müller almost 2 years ago
Andreas Kohlbecker wrote:
Shouldn't this be handled in the FistdataInserter?
Hmm, I don't know. It is only relevant for databases that existed prior to 4.10. We also don't having something like this for the other 2 permission groups and never needed it. But of course if we do not not have a model update with the next release it might be helpful to handle it directly in the FistdataInserter.
Is it easy to implement there? If yes, we could add it and remove after the next model change.