Current User status flow is:
Pending -> Active / Rejected
Add new status for new user:
Pending -> NewUser/Rejected -> Active
The transition from NewUser -> Active should only be allowed if all the onboarding fields.
Once user is approved user status should be new user in order to identify by Frontend to ask user to fill onboarding profile. User should be enable in keycloak so that they can login
UserStatus enum needs to be updated with the above requirement
Current User status flow is: Pending -> Active / Rejected
Add new status for new user: Pending -> NewUser/Rejected -> Active
The transition from NewUser -> Active should only be allowed if all the onboarding fields.
Once user is approved user status should be new user in order to identify by Frontend to ask user to fill onboarding profile. User should be enable in keycloak so that they can login
UserStatus enum needs to be updated with the above requirement