Hi Forum, I have an Application with the Sign-Up and Login page respectively. So for this, I want an validation logic which is, once the new user registers and creates their account using a signup form. The account will be created after which they will be able to login but what I want here is that, once the new user creates their new account then that information should be reflected in a admin dashboard where the admin will validate the user and see if he can give an access to that user, so he either approves it or rejects the request. Until the request is not approved, the user will not be able to login to the application, so it has to be disabled until the approval and enable only after the admin's approval for that particular user. FYI, I have implemented Anonymous user already and have the Login and Signup functionalities respectively. Please help me with this flow, with the steps for implementation.
asked
Spoorthi YU
2 answers
0
You have to create an extra staging role. after the signup of the new user, you will only give the user this staging role. After approving by the admin you give him the normal user role.
answered
Martin van Dijk
0
Also You can simply handle with boolean attribute(Active/InActive and Blocked) from Account entity.Once Approved make the user active