# Role-based Access Control

Role Based Access Control (RBAC) is a critical function for any Managed Service Provider (MSP) organization, but its use isn't limited to MSPs. Access Management helps you manage who has access to the specific topology elements, UI elements, and which APIs they can call.

RBAC is an authorization system that provides fine-grained access management of StackState resources, that provides a clean and easy way to audit user privileges and to fix identified issues with access rights.

## What can I do with RBAC?

Here are some examples of what you can do with RBAC:

* Allow one user to have access to the Applications layer, and another one to have access to the Databases layer.
* Allow a group of users to access Analytics in StackState.
* Create a group for users with access to specific elements of the topology.

## What is a role in StackState?

A role in StackState is a combination of a [configured subject](/5.1/configure/security/rbac/rbac_subjects.md) and a set of [permissions](/5.1/configure/security/rbac/rbac_permissions.md). Process of setting up a role in StackState is described in [How to set up roles](/5.1/configure/security/rbac/rbac_roles.md).

## More on RBAC configuration

* [Permissions](/5.1/configure/security/rbac/rbac_permissions.md)
* [Scopes](/5.1/configure/security/rbac/rbac_scopes.md)
* [Subject Configuration](/5.1/configure/security/rbac/rbac_subjects.md)
* [How to configure authentication](/5.1/configure/security/authentication.md)
* [How to set up roles](/5.1/configure/security/rbac/rbac_roles.md)


---

# 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://archivedocs.stackstate.com/5.1/configure/security/rbac/role_based_access_control.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.
