# Adding permissions to roles

If your application works with permission based access, you can add permissions to your new or existing roles.

Simply edit or create a role, and scroll down to the Permissions section.&#x20;

This will show an overview of all the permissions that are added to this role.&#x20;

By typing in the 'Permission name' field, you can either select an existing permission (these can be re-used across roles), or immediately create a new permission if your wanted permission does not exist yet in your Veriam configuration.&#x20;

Simply select the permission and click the 'Add' button next to the field. Your permission will then be added to the overview above the field.&#x20;

As soon as you click save, and publish the changes, the permissions belonging to the role will be returned in the OIDC Claim in the 'Entitlements' field when a user with that role logs into your application.&#x20;

You can also manage all the permissions by clicking the 'Manage permissions' link from the permissions section. This will redirect you to the Permissions overview that will show all the permissions that have been added to your Veriam configuration.&#x20;

Here you can add new permissions, or edit or delete existing permissions.&#x20;

Don't forget to publish the changes to make them active.&#x20;


---

# 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.myveriam.com/for-providers/ciam/role-based-access/adding-permissions-to-roles.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.
