Users Management

This module allows administrators to manage user accounts that can access the Djib-Payroll application, assign roles, and control permissions.

Overview

User management is critical for controlling access to sensitive HR and payroll data. Here, you can create new user logins, assign roles (like Administrator, HR Manager, Payroll Officer), edit user details, and remove access by deleting users.

Managing Users

Follow these steps to manage application users:

1. Search Users

Use the search bar to find users by name or email address.

2. Add or Edit a User

Click the "Add New" button () to add a new user, or the Edit icon () to modify an existing one. A modal form will appear for entering/updating user details.

  • Name: User's full name. Required.
  • Email: User's email address (used for login). Required and must be unique.
  • Password: Set an initial password for new users. Required for creation.
  • Confirm Password: Re-enter the password for confirmation.
  • Roles: Assign one or more roles to the user to grant permissions.

Click "Create" or "Update" to save.

3. Review User List

The main table displays the list of application users. You can:

  • Sort Data: Click on column headers to sort the table.
  • View Roles: See the roles assigned to each user.
  • Control Entries: Use the dropdown above the table to change how many users are shown per page.

4. Delete a User

Click the trash can icon () in the table row for the user to be removed. Confirm the deletion. This will permanently remove the user's access to the application.