Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Poistetaan vanhat turhat käytöstä poistuneet roolit #6118

Merged
merged 1 commit into from
Dec 16, 2024

Conversation

Gekkio
Copy link
Contributor

@Gekkio Gekkio commented Dec 12, 2024

  • END_USER, CITIZEN_WEAK, MOBILE on käyttäjätyyppejä eikä rooleja
  • GROUP_STAFF on nykyään STAFF yksikkötasolla + erillinen ryhmäluvitus
  • nämä on yhä tietokannan user_role-enumissa: MOBILE, GROUP_STAFF. Enumista poistaminen on hankalaa
  • employee.roles ja daycare_acl.role -sarakkeissa on check constraintit jotka on jo nyt ajan tasalla eikä nyt poistettavia rooleja ole sallittu niissä pitkään aikaan

These are modeled as user types, not roles:

- END_USER
- CITIZEN_WEAK
- MOBILE

GROUP_STAFF is modeled as STAFF in `daycare_acl` + a row in `daycare_group_acl`
@Gekkio Gekkio added the tech Tekninen muutos, esim. refaktorointi label Dec 12, 2024
@Gekkio Gekkio merged commit e33c355 into master Dec 16, 2024
31 checks passed
@Gekkio Gekkio deleted the remove-unused-legacy-roles branch December 16, 2024 08:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tech Tekninen muutos, esim. refaktorointi
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants