User Management
Manage user accounts, assign roles and module access, reset passwords, and configure company settings.
User Management
4.1 Overview
The User Management module allows administrators to manage user accounts, assign roles and module access, reset passwords, and configure company settings. This is a critical module for controlling access to the ERP system.
Module Location: Dashboard → User Management
Module Structure (2 Tabs):
- User Management - Create, view, edit, and delete user accounts
- Account Settings - Configure company information and branding
4.2 User Management Tab
This tab provides tools for managing all user accounts in the system.
4.2.1 Stats Cards
| Card | Description |
|---|---|
| Total Users | Shows the count of all registered users in the company |
4.2.2 Search Functionality
Search Users:
- Search Field: Filter users by name, email, or role
- Search updates in real-time as you type
4.2.3 Users Table
| Column | Description |
|---|---|
| Name | User's full name |
| User's email address (with mail icon) | |
| Phone | Contact phone number (or "-" if not provided) |
| Position | User's role/position (Manager, Accountant, etc.) |
| Store Name | Assigned store location (or "-" if not assigned) |
| Assigned Modules | Badges showing module access (shows first 2, "+X more" for additional) |
| Created | Account creation date |
| Actions | View, Edit, Password Reset, Delete buttons |
4.2.4 User Actions
View User Details (Eye Icon): Opens a dialog showing complete user information:
- Full Name and Email
- Phone Number and Position/Role
- Store Name and Company ID
- Created At and Last Updated timestamps
- All Assigned Modules (displayed as badges)
Edit User (Pencil Icon): Opens the edit dialog with:
- All user fields pre-populated
- Password fields optional (leave empty to keep current password)
- Module selector for updating access
Password Reset (Key Icon): Navigates to the Password Reset page for the selected user (see Section 4.4).
Delete User (Trash Icon):
- Opens a confirmation dialog
- Shows the user's name in the warning message
- Warns that this action cannot be undone
- Permanently removes the user account
4.2.5 Pagination
- Users are displayed in paginated format
- Previous/Next buttons for navigation
- Shows current page and total pages (e.g., "Page 1 of 3")
4.3 Creating a New User
- Click "+ Add New User" button in the top right
- Fill in the user form:
User Form Fields:
| Field | Required | Description |
|---|---|---|
| Full Name | Yes | User's complete name |
| Yes | Login email address (must be unique) | |
| Phone Number | No | Contact phone number |
| Position/Role | No | Select: Manager, Accountant, Salesperson, HR, or None |
| Assign to Store | No | Select from available stores (optional) |
| Password | Yes | Minimum 8 characters |
| Confirm Password | Yes | Must match password |
Module Assignment Section:
- Select modules the user should have access to
- Modules are suggested based on selected role
- Multiple modules can be selected
- Click "Create User" to save
Position/Role Options:
| Role | Suggested Modules |
|---|---|
| Manager | All management modules |
| Accountant | Finance, Expenses, Budget, Payroll |
| Salesperson | Sales, POS, Inventory |
| HR | HR, Leave, Payroll |
4.4 Password Reset
The Password Reset feature allows administrators to reset passwords for user accounts.
Accessing Password Reset:
- From the Users table, click the Key icon on any user row
- Or navigate directly to: Dashboard → Password Resets with a user ID
Password Reset Page:
User Information Display:
- Shows the selected user's Full Name and Email
Reset Password Form:
| Field | Required | Description |
|---|---|---|
| New Password | Yes | Minimum 8 characters |
| Confirm Password | Yes | Must match new password |
To Reset Password:
- Enter the new password (minimum 8 characters)
- Confirm the password
- Click "Reset Password"
- Success message confirms the reset
- Click "Back to User Management" to return
Business Rules:
- Password must be at least 8 characters long
- Both password fields must match
- User is required (page shows "No User Selected" if accessed without user ID)
4.5 Editing a User
- Click the Edit icon (pencil) on a user row
- Modify any fields as needed
- Leave password fields empty to keep current password
- Update module assignments if needed
- Click "Update User" to save changes
Notes:
- Email changes require the new email to be unique
- Password is optional during edit (leave blank to keep existing)
- Module changes take effect immediately
4.6 Account Settings Tab
This tab manages company-wide settings and branding.
4.6.1 Company Logo Section
Logo Management:
- Upload company logo (PNG, JPG, GIF up to 5MB)
- Recommended size: 200x200px
- Preview shows current logo
- Remove button (X) to delete current logo
- Change Logo button to upload new logo
4.6.2 Company Information Form
Basic Information:
| Field | Required | Description |
|---|---|---|
| Company Name | Yes | Legal business name |
| Primary Email | Yes | Main contact email |
| Primary Phone | No | Main contact number |
| Secondary Phone | No | Alternative phone |
| Website | No | Company website URL |
| Registration Number | No | Business registration ID |
Address Information:
| Field | Description |
|---|---|
| Street Address | Physical address |
| City | City name |
| State/Province | State or province |
| Postal Code | ZIP/Postal code |
| Country | Country name |
| Country Code (ISO) | 2-letter ISO code (e.g., TZ) |
Business Details:
| Field | Options/Description |
|---|---|
| Industry | Technology, Software Development, Retail, Manufacturing, Healthcare, Finance, Education, Construction, Hospitality, Other |
| Company Size | Small (1-50), 10-50 employees, Medium (51-250), Large (250+) |
| Tax ID | Tax Identification Number |
| VAT Number | VAT registration number |
Financial Settings:
| Field | Description |
|---|---|
| Default Currency (ISO) | 3-letter currency code (e.g., TZS, USD) |
| Fiscal Year End (MM-DD) | Month-Day format (e.g., 12-31) |
Invoice Settings:
| Field | Description |
|---|---|
| Invoice Terms & Conditions | Default terms for invoices (e.g., "Payment due within 30 days") |
| Invoice Footer | Footer text for invoices (e.g., "Thank you for your business!") |
- Click "Update Company Information" to save
4.7 Business Rules
User Account Rules:
- Email addresses must be unique across all users
- Passwords must be at least 8 characters
- New users receive login credentials (can be communicated via email)
- Users can only access modules assigned to them
- Deleting a user permanently removes their account
Role-Based Module Suggestions:
- Manager role suggests: All management modules
- Accountant role suggests: Finance, Expenses, Budget, Payroll modules
- Salesperson role suggests: Sales, POS, Inventory modules
- HR role suggests: HR, Leave, Payroll modules
Company Settings Rules:
- Company Name and Primary Email are required fields
- Logo file must be PNG, JPG, or GIF format
- Logo file size limit: 5MB
- Currency code must be 3-character ISO format
- Country code must be 2-character ISO format
Access Control:
- Only administrators can access User Management
- Module assignments control what users see in the dashboard sidebar
- Users without any assigned modules see an empty dashboard
4.8 Workflow Summary
Adding a New Team Member:
- Navigate to User Management tab
- Click "+ Add New User"
- Fill in user details (name, email, etc.)
- Select appropriate position/role
- Assign to a store (optional)
- Select modules the user needs access to
- Set a secure password
- Click "Create User"
- Share credentials with the new user
Resetting a Forgotten Password:
- Locate the user in the Users table
- Click the Key icon (Password Reset)
- Enter and confirm new password
- Click "Reset Password"
- Communicate new password to user
Updating Company Branding:
- Go to Account Settings tab
- Upload new company logo
- Update company information as needed
- Update invoice terms and footer
- Click "Update Company Information"