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

# Role Management

> Create roles and assign permissions.

Role management lives at `/admin/roles`. The grid shows ID, Role Name, Permissions and Actions.

## Add a role

Set the role name and select permissions from the permission list.

## Edit a role

Change the role name and assigned permissions.

## Delete a role

Roles can be deleted after confirmation.

## Protected admin role

The built-in `ROLE_ADMIN` role cannot be edited or deleted, and is kept synchronized with all permissions.

## Permissions

| Permission                                             | Area                |
| ------------------------------------------------------ | ------------------- |
| `READ_USER`, `CREATE_USER`, `EDIT_USER`, `DELETE_USER` | Users               |
| `READ_ROLE`, `CREATE_ROLE`, `EDIT_ROLE`, `DELETE_ROLE` | Roles               |
| `MANAGE_PERMISSIONS`                                   | Permissions         |
| `MANAGE_SETTINGS`                                      | Settings            |
| `MANAGE_DISCORD`                                       | Discord integration |
| `MANAGE_NOTIFICATIONS`                                 | Notifications       |
| `ALL`                                                  | Everything          |


## Related topics

- [User Management](/sunpaste/admin/user-management.md)
- [SunPaste](/sunpaste/overview.md)
- [Disaster Management](/sunlicense/other/disaster-management.md)
- [Discord Automation](/sunlicense/automations/discord-automation.md)
- [Integrations](/sunpaste/admin/integrations.md)
