User Management¶
User Management in the application is handled through the admin dashboard. Here, you can create, edit, and delete user accounts, as well as manage their roles.
To access the user management section, log in to the admin dashboard with your administrative credentials. Once logged in, you will find the Users section in the navigation menu.
The Users section lists all existing users along with their roles and provides options to add new users or edit existing ones. Each user can have one of two roles: Admin or Employee.
Creating a User¶
To create a new user, follow these steps:
Navigate to the Users section in the admin dashboard.
Click on the Add User button.
Fill in the required fields:
Username: The unique identifier for the user.
Name: The user’s full name.
Password: A secure password for the user account.
Confirm Password: Re-enter the password to confirm it.
Role: Assign a role to the user (Admin or Employee).
Click on the Add User button to create the user.
Editing a User¶
To edit an existing user, follow these steps:
Navigate to the Users section in the admin dashboard.
Find the user you want to edit in the list.
Click on the Edit button in the Actions column next to the user.
Update the necessary fields:
Username: Change the username if needed.
Name: Update the user’s full name.
Password: Change the password if required.
Confirm Password: Re-enter the new password to confirm it.
Role: Change the user’s role if necessary.
Click on the Save Changes button to save the changes.