# Managing Users

**Adding Users:**

To add users, groups, or service accounts, go to the "User" tab on the RBAC view and click on the "Add" button. This action will bring up the Add User modal.

<figure><img src="https://1767247338-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMXXfpTvt6Xe4Y0tCwViA%2Fuploads%2FvPMBnVqYQnq9OIfj6UN8%2FUserTab.png?alt=media&#x26;token=17161543-fcc5-46dc-86cb-f61bd6765ceb" alt=""><figcaption></figcaption></figure>

To create a user, choose "User" on the radio group, enter a name in the name input field, and optionally select any role or cluster role you wish to bind to the user.

<figure><img src="https://1767247338-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMXXfpTvt6Xe4Y0tCwViA%2Fuploads%2Fjocm5zZ8A9o6chswxDtk%2FAdd%20User.png?alt=media&#x26;token=9489e89b-518a-430b-ae66-10961c8f7c1e" alt=""><figcaption><p>Adding User</p></figcaption></figure>

**Adding Groups:**

To create a Group, follow the same steps as creating a user. The only difference is that you will select "Group" on the radio group of the Add Modal.

**Adding Services Accounts:**

To create a Service Account, click on the "Add" button on the user tab. Once the Add modal is displayed, select the "Service Account" option on the radio group, define a name, select a namespace where to create the service account, and choose any role or Cluster role that you want to bind the Service Account to.

<figure><img src="https://1767247338-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMXXfpTvt6Xe4Y0tCwViA%2Fuploads%2FWaKXKX87eyW1nIE0DiFW%2FServiceAccount.png?alt=media&#x26;token=956baf46-975e-4802-abcf-7a884a908e04" alt=""><figcaption><p>Adding Service account</p></figcaption></figure>

**Delete:**

To delete a user, group, or service, simply select the element you wish to delete from the list and then click on the delete button.

**Search:**

To locate a user, group, or service account, utilize the search bar to swiftly find the desired item.

**Binding Roles and Cluster Roles to a user, group, or Service Account:**

First, select a user, group, or service account. Then, navigate to the User Roles section in the middle of the screen. Here, you'll find all the role and cluster role bindings for the selected user, group, or service account. If you wish to bind any additional role or cluster role to the user, click on the plus button, and the Role Cluster Role Binding modal will appear.

<figure><img src="https://1767247338-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMXXfpTvt6Xe4Y0tCwViA%2Fuploads%2FN1rowzFo2TYrWqx7PvYO%2FAddBindings.png?alt=media&#x26;token=78801179-ba8e-4116-ba48-153b10e7de3c" alt=""><figcaption><p>Add bindings</p></figcaption></figure>

Choose the roles/cluster roles you wish to add, then click on the "Add" button. K8Studio will create all necessary bindings accordingly.

**Delete user bindings**

After selecting a user, group, or service account, navigate to the Users Roles panel in the center of the screen. Here, you'll find a list of all available bindings for the selected item. Choose the bindings you wish to delete, then click on the delete button to remove them.

<figure><img src="https://1767247338-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMXXfpTvt6Xe4Y0tCwViA%2Fuploads%2FtCtwmDrnN6faAaqxrhbO%2FDeleteBindings.png?alt=media&#x26;token=af358a56-c5c4-421f-af38-74b487176200" alt=""><figcaption></figcaption></figure>

**User Permission View.**

This view provides a combined overview of the permissions granted by the different bindings to a user, group, or service account. It allows us to easily understand the permissions assigned to a user.

<figure><img src="https://1767247338-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMXXfpTvt6Xe4Y0tCwViA%2Fuploads%2FD3KO9UsZT9PIH2JhIGtv%2FPermissions%20View.png?alt=media&#x26;token=02733dff-9df8-4a71-8719-2368d8ca6638" alt=""><figcaption><p>Permissions View</p></figcaption></figure>
