drewpayment / verostack-archived

Verostack (Payment Group) Web Application (Angular 7/Laravel 5.7)
https://verostack.dev
1 stars 1 forks source link

Agent/User entities need to be decoupled #16

Open drewpayment opened 5 years ago

drewpayment commented 5 years ago

Originally, users and agents were very closely related. However, there are circumstances where agents may not have a user account and the client should not be required to have one. We should be able to give them an admin screen that allows them to manage users, but they shouldn't be required to.

The user screen should handle all of the properties of the user. It should also allow the admin to randomize the password for the user. They should also be able to explicitly set one if they need to that follows the current password policy.

The admin should also be able to tie the user account to a particular agent, so that when the user logs in, they should be able to see agent things if they're an agent. Needs to have error handling, so that if the user logs in and they don't have an agent assigned, the website doesn't just error out on them.