• Steven's avatar
    feat: update InstanceProfile to include initialization status · ba099b72
    Steven authored
    - Removed the owner field from InstanceProfile as it is no longer needed.
    - Added an initialized field to InstanceProfile to indicate if the instance has completed first-time setup.
    - Updated GetInstanceProfile method to set initialized based on the existence of an admin user.
    - Modified tests to reflect changes in InstanceProfile and ensure correct behavior regarding instance initialization.
    - Adjusted frontend logic to redirect users based on the initialized status instead of the owner field.
    ba099b72
instance_service.go 10.7 KB