Edit user
Last updated
Last updated
When a user clicks on the "Edit" button next to a listed user, they will be taken to a page specifically designed for editing user details and roles. On this page, the user can make changes to the selected user's information and roles. Additionally, the user has the ability to set permissions for the particular user. They can choose whether the user can view the "Order_home" or "Spec_home" job types from the Jobs.
Furthermore, from this page, the user can force a password reset for the selected user if needed. This allows the user to reset their password and regain access to their account if they have forgotten their current password or are experiencing any login issues.
The "Edit User" form contains the same fields and validations as the "Create User" form, and all these fields can be modified. If the user clicks on the "Cancel" button, any changes they made in the form will not be saved, and they will be redirected back to the list of users without any updates being applied.
On the other hand, if the user clicks on the "Submit" button, the updated information will be saved, and a success banner will appear to confirm the successful update. Despite this confirmation, the user will remain on the same "Edit User" page, where they can continue editing or make further changes if needed.