# Overview

CollieAI has two roles:

| Role      | Access                                                                       |
| --------- | ---------------------------------------------------------------------------- |
| **User**  | Own projects, policies, rules, dictionaries, and logs                        |
| **Admin** | Everything a user can do **plus** the Admin panel for system-wide management |

## Becoming an Admin

There is no self-service way to obtain admin privileges. An admin role can be assigned through one of three methods:

{% stepper %}
{% step %}

### CLI script

Run from the server:

```bash
python scripts/promote_admin.py user@example.com
```

{% endstep %}

{% step %}

### Direct SQL

Update the database directly:

```sql
UPDATE users SET role = 'admin' WHERE email = 'user@example.com';
```

{% endstep %}

{% step %}

### Admin panel UI

An existing admin changes the role of another user through [User Management](/admin-panel/user-management.md).
{% endstep %}
{% endstepper %}

## Accessing the Admin Panel

Once you have the admin role, a **shield icon** appears in the sidebar. This icon is only visible to admins. Click it to open the Admin panel.

## Admin Dashboard

The dashboard landing page displays high-level system statistics:

* **Total users** -- number of registered accounts
* **Active users** -- users who have been active recently
* **Total projects** -- projects across all users
* **Total requests** -- cumulative API requests processed

Below the stats you will find links to the four management sections:

* [User Management](/admin-panel/user-management.md) -- search, activate/deactivate, and change roles
* [System Dictionaries](/admin-panel/system-dictionaries.md) -- create word lists available to every user
* [System Policies](/admin-panel/system-policies.md) -- create policies and rules available to every user
* [Support Tickets](/api-reference/support-tickets.md) -- view and respond to user support requests


---

# 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://docs.collieai.io/admin-panel/overview.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.
