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.

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.

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.

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.

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.

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.

Last updated