# 👥 Users

The Users module gives you full control over who can access your system, what they can do, and how they interact with the platform. You can create new users, assign roles, activate or deactivate access, and manage account details with ease.

<br>

<figure><img src="/files/Tsh3lm5VShiMDIrPaETb" alt=""><figcaption></figcaption></figure>

This helps maintain a secure, role-based environment for your business operations.

***

#### 🧰 Key Features

* Create new users with role-based access
* Assign roles (e.g., Admin, Technician, Staff)
* Toggle user status (Activate/Deactivate)
* Edit user info, including password
* Delete users from the system
* Prevent login for deactivated users
* Email uniqueness enforced – one account per email address

***

#### 📋 User Management Actions

<br>

**➕ Create a New User**

<br>

<figure><img src="/files/TDRrLt3ouYDqNWgwPgeI" alt=""><figcaption></figcaption></figure>

To add a user to your system:

1. Enter a unique name
2. Provide a valid, unique email address
3. Set a secure password
4. Assign a user role
5. Set status to either Activated or Deactivated

<br>

> 🚫 Deactivated users are stored in the system (email is reserved) but cannot log in until reactivated.

***

**✏️ Edit User**

<br>

<figure><img src="/files/phzt7IFrFqu65QUHkAdE" alt=""><figcaption></figcaption></figure>

You can update a user’s:

* Name
* Email
* Password
* Role
* Status (Activate/Deactivate)

<br>

Changes are applied immediately and affect the user’s access and permissions.

***

**🗑️ Delete User**

<br>

Remove a user from the system permanently. This is useful when:

* An employee has left your organization
* An account was created in error
* You want to clean up unused accounts

<br>

> ⚠️ Note: Deletion is permanent and cannot be undone.

***

#### 👤 User Details

<br>

*This information may be visible to others where applicable.*

* Name – Full name of the user *(Required)*
* Email – Unique and valid email address *(Required)*
* Password – A secure password for login *(Required)*

***

#### ⚙️ User Settings

<br>

*Manage access and role-based permissions.*

* Role – Select the appropriate role for this user. Roles control permissions and access across the system *(Required)*
* Status – Toggle to activate or deactivate the user.
  * ✅ Activated – User can log in
  * 🚫 Deactivated – User cannot log in, but the account remains stored (email is reserved)

***

#### 🧭 Actions

* Cancel – Return to the user list without saving
* Save – Save the new user and apply all entered details


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://codehas.gitbook.io/repair-box/administration/users.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
