-
Type: Bug
-
Status: Closed (View Workflow)
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 0.20 Larks
-
Fix Version/s: 0.20 Larks
-
Labels:None
-
Sprint:1.4 Larks
At the moment our DB migration creates groups like Administrators with ID as a constant (13). And we use this ID in our code. We need:
- Correct migration to insert groups only if they don't exist
- Remove usage of IDs in the code and use group names instead
One of ways of testing that everything works:
- Create a clean database
- Start Poulpe and see that Administratos group exists in GROUPS table
- Start JCommune and see that there is no new group with name Administrators
- relates to
-
POULPE-452 User Group name should be unique
- Closed