> ## Documentation Index
> Fetch the complete documentation index at: https://docs.coreflux.org/llms.txt
> Use this file to discover all available pages before exploring further.

# User Management

> Create, edit, and delete broker users; manage credentials and access control

![Navigating to User Management in the Coreflux HUB by selecting System in the top navigation and clicking User Management](https://mintcdn.com/coreflux/7tBTxEEkDVX4IRGH/images/system/user-management/open-user-management.gif?s=eda7d906fd1b830ab2f547da307bc216)

Opening User Management from the Coreflux HUB System menu

## Why Use User Management?

You need to control who can connect to your broker—add users, set passwords, and manage access. The User Management in the Coreflux HUB lets you create, edit, and delete users without editing configuration files or using command-line tools.

## When to Use It

* **Adding users** — Create new users for devices, applications, or operators
* **Updating credentials** — Change passwords
* **Managing permissions** — Control which features each user can access
* **Removing access** — Delete users who no longer need broker access

For topic-level and group-based access control with LoT Rules, see [RBAC with LoT Rules](https://docs.coreflux.org/latest/lot-language/rules/rbac.md).

***

## Accessing User Management

In the HUB top navigation, select **System**, then **User Management**. The user accounts table shows all configured users with their permissions.

![Coreflux HUB User Management window with a 1 user badge, Search users, refresh and add buttons, and a table listing root (You) with Full Access, User Management, and Log Management Enabled plus edit and change password actions, and the note Permission edits apply only after Save](https://mintcdn.com/coreflux/3mb0wROxLOvLuS2Q/images/system/user-management/user-management-light.png?fit=max\&auto=format\&n=3mb0wROxLOvLuS2Q\&q=85\&s=8b3bcf7850921fc5d7fd9da35e59e6fa)

User Management showing the user accounts table with permission badges and action buttons

## User Permissions

Each user has permission flags. The HUB table exposes three toggles that map to broker flags:

| HUB toggle | Broker flag | Description |
| - | - | - |
| **Full Access** | `AllowedSystemConfiguration` | System configuration and broad administrative access |
| **User Management** | `AllowedUserManagement` | Create, edit, and delete other users; manage group membership via MQTT |
| **Log Management** | `AllowedLogManagement` | Access to broker logs, trace logs, and log export |

Toggle permissions on or off for each user. The `root` user has special permissions that cannot be fully modified.

### Groups

Users can belong to named groups used by LoT Rules (`USER IN GROUP`) and Visu panel sharing. Manage groups with MQTT commands (`-addUserToGroup`, `-removeUserFromGroup`, `-listUserGroups`) — see [Broker Commands](https://docs.coreflux.org/latest/mqtt-broker/commands.md) and [RBAC](https://docs.coreflux.org/latest/lot-language/rules/rbac.md).

## Creating a User

1. Click the **+** button in the top-right corner.
2. The **Add New User** modal opens.

![Coreflux HUB Add New User modal overlaid on the User Management window with the description Create a new user account; the user will be created with default permissions, and three input fields — Username with placeholder Enter username highlighted, Password with placeholder Enter password and a visibility toggle, and Confirm Password with placeholder Confirm password and a visibility toggle — plus Cancel and Add User buttons](https://mintcdn.com/coreflux/7tBTxEEkDVX4IRGH/images/system/user-management/user-management-add-user.png?fit=max\&auto=format\&n=7tBTxEEkDVX4IRGH\&q=85\&s=cb276e551ab3b53898123e71231083e6)

Add New User modal with Username, Password, and Confirm Password fields and a Create a new user account description

3. Enter a username and password (with confirmation).
4. Click **Add User**. The user is created with default permissions and can now connect to the broker.

## Editing a User

Toggle permission switches directly in the user table to modify access. When you change a permission, the user row shows a **Modified** badge and action buttons appear:

![Coreflux HUB User Management window with an Important Notice at the top and a System Configuration Updated banner explaining that the system user configuration has been updated while editing and offering to refresh; the User Accounts table shows root with Full Access Enabled and User Management and Log Management Disabled, and test with a Modified badge, Full Access toggled off with an Original: true note, and save, cancel, change password, and delete action icons on the right](https://mintcdn.com/coreflux/7tBTxEEkDVX4IRGH/images/system/user-management/user-management-modified.png?fit=max\&auto=format\&n=7tBTxEEkDVX4IRGH\&q=85\&s=b6ac9b2093682ebed9db8383271c641c)

User Management with a modified user row and a System Configuration Updated banner, showing save, cancel, change password, and delete actions

| Action | Icon | Description |
| - | - | - |
| **Save** | Floppy disk | Save the modified permissions to the broker |
| **Cancel** | X | Revert unsaved changes |
| **Change Password** | Key | Update the user's password |
| **Delete** | Trash | Remove the user from the broker |

The header bar shows badges for **modified** users and **System Updated** status when the broker configuration changes while you are editing.

## Deleting a User

Click the delete (trash) icon next to a user and confirm the deletion. The `root` user cannot be deleted.

***

## Next Steps

> [card] [RBAC with LoT Rules](https://docs.coreflux.org/latest/lot-language/rules/rbac.md)
>
> Groups, permission flags, and topic access rules.

> [card] [MQTT Broker Configuration](https://docs.coreflux.org/latest/mqtt-broker/configuration.md)
>
> Learn about authentication and security options.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.