indok-web icon indicating copy to clipboard operation
indok-web copied to clipboard

Migrate org groups (hr_group -> admin_group, primary_group -> member_group)

Open simensandhaug opened this issue 2 years ago • 5 comments

Changes

  • Change DB fields for hr_group and primary_group to admin_group and member_group for organizations
  • Change name and group type for all responsible groups
  • New ResponsibleGroup.name format "Organization:Type" instead of just "Type"
  • ResponsibleGroup.group_type format "Type" (e.g ADMIN or MEMBER)
  • Every ResponsibleGroup also has a pointer to a Group object that has outdated names
    • Previous : "Organization:(HR|Medlem):uuid"
    • New : "Organization:(Admin|Member):uuid"
  • These changes make it easier to navigate api.indokntnu.no/admin and the names are more descriptive
  • Change necessary instances of hr_group and primary_group

simensandhaug avatar Nov 14 '22 18:11 simensandhaug