> For the complete documentation index, see [llms.txt](https://ztrust.gitbook.io/livestreamiq/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ztrust.gitbook.io/livestreamiq/readme/4.-administration/4.3.-authorization.md).

# 4.3. Authorization

Authorization in Kafka controls user access and permissions on Kafka resources. It ensures that only authorized users or roles can perform specific actions on Kafka clusters.

The following steps describe how to configure authorization permissions for Kafka resources.

Step 1: Navigate to the Authorization section to manage Kafka role configurations.

![](/files/7iXzaH8cVNQPAYuoNjXE)

Step 2: Click the Configure New Role button to create a new role configuration.&#x20;

1. **For Create Configure New Role:**

   Step 1: Navigate to the Create Role page from the Role Configuration List.\
   Step 2: Enter the Role Name to create a new role configuration.&#x20;

   1. Clusters: Select the required Kafka cluster from the dropdown list to assign the role access permissions and search the kafka cluster. <br>

      ![](/files/Id8rw0AulizFKezooAzJ)

Step 3: Configure the Subjects by selecting the authentication provider and entering the required role value.

Step 4: Click Add Subject to add the subject configuration. Click on the delete button the new subject is added it will remove.

![](/files/uHqoz5JIlxmIZtEnecbk)

Step 5: Select the required authentication provider from the dropdown list (OAuth, SAML, LDAP, GIT, or BASIC) to define the authentication method for the role subject.&#x20;

Step 6: Configure the Permissions by selecting the required resource type (Example: Topic).

Step 7: Click Add Permission to add the permission configuration and review the entered role details, subjects, and permissions.&#x20;

When the user click on the cross button the module is removed.

![](/files/RkZczUeAKswQ2VXsvdTR)

Step 10: Click Create to save the role configuration and apply authorization settings.

{% hint style="info" %}
**Note:** To clear all entered role configuration details and restore the form to its default state, click the Reset button&#x20;
{% endhint %}

2. **Edit Role Configuration :**&#x20;

Use the Edit action to update an existing role configuration.&#x20;

![](/files/3CDjERFeEKFrush7QT2y)

**Step 1:** Navigate to the Authorization section and open the required role from the Role Configuration List.

Step 2: Update the required Role Name, Clusters, Subjects, and Permissions details.

Step 3: To remove a subject or permission, click the Delete icon next to the respective entry.

Step 4: Review the updated role configuration details.

Step 5: Click the Update button to save the changes to the role configuration.

{% hint style="info" %}
**Note:** Click the Reset button to clear the changes and restore the previous configuration.
{% endhint %}
