E-Trans Documentation
Developed by Pratik Dimble | Tested by Swapnil Kharat Contact Me

User Management Module

The User Management Module in E-Trans Dashboard allows administrators to link and unlink users to a company.
It provides a simple interface to manage user associations efficiently with confirmation dialogs and status indicators.


πŸ”Ή Features


πŸ–₯️ Table Columns

Column Description
User ID Unique identifier of the user
Username User’s login name
Linked to Company Checkbox showing if the user is linked (disabled)
Action Buttons to link or unlink users

πŸ”— API Endpoints

Action Method Endpoint Description
Fetch Users GET /dashboard/company/users Retrieves all users with link status
Link User GET /dashboard/company/link/{userId} Links a user to the company
Unlink User GET /dashboard/company/unlink/{userId} Unlinks a user from the company

πŸ“ Workflow

  1. Navigate to Manage Users in the dashboard.
  2. The table lists all users along with their link status.
  3. To link a user:
    • Click the green Link button next to an unlinked user
    • Toast confirms success
  4. To unlink a user:
    • Click the red Unlink button next to a linked user
    • Confirmation modal appears
    • Confirm unlink to remove association
    • Toast confirms success
  5. Users already linked cannot be linked again; their checkbox is disabled.

⚑ UI / UX Notes


πŸ“· Screenshot (Example)

User Management Module