> For the complete documentation index, see [llms.txt](https://docs.cybus.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cybus.io/documentation/user-management.md).

# User Management

User management in Connectware allows you to control access to your systems through well-defined identities and permissions. This chapter explains how to manage users, roles, and permissions.

{% hint style="info" %}
Managing users and roles requires admin role privileges or corresponding permissions.
{% endhint %}

## Users, Roles, and Permissions

The main concept of managing access in Connectware is done via users, roles, and permissions:

* **Users**: A known identity (person or software/hardware agent) with associated data permissions and/or administrative access. See [Users](/documentation/user-management/users.md).
* **Roles**: A group of permissions that can be assigned to multiple users. See [Roles](/documentation/user-management/roles.md).
* **Permissions**: Specific access rights to resources (via MQTT topics or HTTP endpoints). See [Permissions](/documentation/user-management/permissions.md).

<figure><img src="/files/bOyjj1aBoRqFth7f7OIj" alt="Users, roles, and permissions"><figcaption><p>Example of users, roles, and permissions</p></figcaption></figure>

## Hardware Devices

For hardware devices connecting to Connectware, we recommend using the [Client Registry](/documentation/client-registry.md). Instead of manually creating user accounts through the Admin UI, the Client Registry enables:

* **Self-registration**: Devices can self-register using either MQTT or REST API approaches.
* **Secure credential handling**: Eliminates risks associated with manual password sharing.
* **Certificate support**: Advanced registration with certificate signing requests (CSR) for enhanced security.
* **Controlled approval**: Administrator review of all registration requests before granting access.
* **Granular permission management**: Newly registered devices have no permissions by default, allowing precise control over device capabilities.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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://docs.cybus.io/documentation/user-management.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.
