Skip to content

Conversation

@Nadil-K
Copy link
Member

@Nadil-K Nadil-K commented Feb 2, 2026

Migration Checklist

  • Find all the tables that have hyvor_user_id and add a new nullable int organization_id column to it
  • env changes
    • Add DEPLOYMENT env variable.
    • Remove AUTH_METHOD
    • Change HYVOR_PRIVATE_INSTANCE to http://hyvor.internal
  • CloudContext must be used. Org switch must be handled
  • Resource creation must be updated to use ResourceCreator HDS component
  • AuthInterface now have me() instead of check(). It returns user and organization both in an object.
  • Init calls in the Console must be updated to get the correct data needed for CloudContext
  • Resources comms
    • ResourceCreated event when created
  • adding members
    • change all "owners" to "admins", who have full access to the resource #462
    • update UI to use OrganizationMembersSearch
    • update API endpoint
      • to verify that the given user is part of the organization
      • to directly add the user to the resource
      • remove user inviting logic
  • Create the migration command (see below)
  • Send emails to first admin
  • Billing section
    • Org role-based access
      • Disable button
      • Redirect on URL access
    • Usage updates
  • Comms Events
    • MemberRemoved (remove the user from all resources of the organization)
    • UserDeleted (remove the user from all the resources)
    • LicenseChanged (optional, clear cache or something)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants