/
RBAC: Using the Admin Tab

RBAC: Using the Admin Tab

New Feature

  • Starting with Release 2.7.2, Kloudfuse manages RBAC through the User Interface. It no longer supports policy configuration at script level.

  • Follow these Upgrade Instructions to fully migrate your existing KloudFuse RBAC configuration to release 2.7.2.

2.7.2.png Use the Admin tab to perform the various RBAC workflows and configurations through the UI:

image-20240822-183640.png
The Admin tab

Manage Users

This section covers topics related to managing users in Kloudfuse.

  • Users must have unique emails.

  • You must have at least one user with Admin role. Be sure to specify this user either through the htpasswd file (see Adding users or changing password), or keep the default Admin user that installs with Kloudfuse).

  • User management actions can be performed only by users with Admin privileges.

  • Kloudfuse fully provisions users on their initial (first) login.

image-20240822-184424.png
User Management interface

To manage users, follow these steps:

  1. Click the Admin tab.

  2. Select User Management from the menu.

  3. The User Management interface appears. It contains the following:

    1. Search bar to locate specific users

    2. List of users, including their Name, Login, Email, and Role.

Proceed to make changes, as described in Assign Roles, Assign Names, and Delete a User.

Assign Roles

There are three possible roles for users: Admin (can change roles and permissions), Editor (can make some changes), and Viewer (can only view data, but cannot make any changes).

By default, Kloudfuse assigns the Editor role to all users. Each organization can configure their own choice of default role for new users.

To change the user’s role, follow these steps:

  1. Hover your pointer over the Role you plan to change.
    Here, we are changing the role of user7, who is currently and Editor.

  2. When the Edit (pencil) icon appears, click on it.

    image-20240822-185808.png
    Begin editing the role assigned to the user
  3. The User Management interface changes to show the detail of the specific user.

    image-20240822-190152.png
    User Management: detail of one user
  4. In the Role section, click Change Role.

  5. When the Role menu appears, select a new role.
    Here, we are change the role from Editor to Admin.

    image-20240822-190505.png
    Changing the role from Editor to Admin
  6. Click Save.

You should see a notification that Kloudfuse changed the role successfully.

The User Management interface now lists user7 as Admin.

image-20240822-191035.png
user 7 has an Admin role

Assign Names

When a user first signs into Kloudfuse, they don’t automatically have their name added to the system.

To assign the name, follow these steps:

  1. Hover your pointer over the role of the user to whom you plan to assign a name.
    Here, we are changing the name of user7.

  2. When the Edit (pencil) icon appears, click on it.

    image-20240822-185808.png
    Edit user
  3. The User Management interface changes to show the detail of the specific user.

    image-20240822-190152.png
    User Management: detail of the user
  4. In the Name section, click the Edit (pencil) icon.

  5. In the Enter name field, enter the name of the user.

    image-20240822-191920.png
    Edit Name
  6. Click Save.

You should see a notification that Kloudfuse changed the name successfully.

The User Management interface now lists user7 as Pippi Longstocking.

image-20240822-192358.png
user7 is named Pippi Longstocking

Delete a User

Admins can also delete users from the Kloudfuse system.

Follow these theps

  1. Hover your pointer over the role of the user you plan to delete from the system.

  2. When the Delete (trashcan) icon appears, click it.
    Here, we are deleting user15.

    image-20240822-205645.png
    Deleting a user
  3. Kloudfuse prompts you to confirm deleting a user.
    You can click Delete to confirm, or Cancel to stop deleting the user.

    image-20240822-205859.png
    Confirm or cancel deleting the user

You should see a notification that Kloudfuse deleted the user successfully.

The User Management interface no longer lists user15.

Manage Folders

In Kloudfuse, Folder Management controls access to Dashboards and Alerts.

You can Create a Folder, Update Folder Name, Change Folder Permissions, Add Folder Permissions, Delete Folder Permissions, and Delete Folders.

Using folders, you can also isolate specific dashboards and alerts from being changed by both editors and viewers. See Limit Editor Access.

Create a Folder

  1. Click the Add New Folder button.

    image-20240828-182333.png
    Add new folder.

  2. The Create Folder interface appears.

  3. In the Create Folder interface, enter the Folder name, and click Create New Folder.
    Here, we create a folder named MyFirstFolder.

    image-20240828-182514.png
    Name and create a new folder
  4. Kloudfuse notifies you that you successfully added a new folder.

The new folder now appears in the Folder Management interface.

image-20240828-182935.png
New folder appears in the Folder Management interface

Update Folder Name

  1. Hover your pointer over the Folder Name that you plan to change.

  2. When the Edit (pencil) icon appears, click on it.

    image-20240823-231329.png
    Edit folder
  3. The Update Folder interface appears.

  4. In the Folder Name field, change the name.
    Here, we update the name of the folder to forecast.

    image-20240823-232014.png
    Change Folder Name
  5. Click Update Folder.

Change Folder Permissions

Hierarchy of permissions
Kloudfuse applies the highest permission a user has to access a resource. To prevent a user from accessing a folder or dashboard, consider their role in the organization, folder permissions, and dashboard permissions.

  • You cannot override organization administrator permissions; they can access all resources.

  • User’s permissions on a folder apply to all dashboards and subfolders.

  • An explicitly set lower permission level is ineffective if a more permissive rule applies higher in folder/dashboard hierarchy.

  1. Hover your pointer over the Folder Name field of the folder you plan to change

  2. When the Permission Settings (gear) icon appears, click it.
    Here, we change the permissions for folder forecast.

    image-20240823-213033.png
    Change Permission Settings
  3. The Folder Settings of forecast interface appears.
    Folder settings include assignments by Role (these correspond to Grafana roles), by individual User (if present), and by Group (if present).

    image-20240823-213513.png
    Folder Settings
  4. For example, to give users with Viewer role permissions to change the folder contents, set that permission to Editor.

  5. To add more permissions to the same folder, see Add Folder Permissions.
    To delete permissions, see Delete Folder Permissions.

  6. When you complete adding or changing folder permissions, close the Folder Settings interface.

Add Folder Permissions

  1. To add additional permissions to the folder, click the Add Permission to Folder button in the Folder Settings interface.

    image-20240823-215044.png

  2. The interface shows options for defining the new permission where you can specify the level of the permission (at User, Group, or Role level), search, and choose the permission level (Admin, Edit, View).

    image-20240823-215254.png
    Defining a new permission

     

  3. Here, we grant Edit permissions to the favorite_people group.

    image-20240823-215837.png
    Adding a new group permission

  4. Click Save.

  5. Kloudfuse notifies you that you successfully added the group (or user, or role) to the folder.

  6. The Folder Settings interface displays the entity that has new permissions to the folder.
    Here, because favorite_people is the first group with permissions to the folder, the interface has a new Groups section.

    image-20240823-220642.png
    New Group permission added to the folder.
  7. When you complete adding or changing folder permissions, close the Folder Settings interface.

Delete Folder Permissions

  1. The Role for Admins is fixed, and you cannot delete it.
    Hover your pointer at the right-hand of the line, and click the Lock icon. Note that nothing happens.

    image-20240823-214305.png
    Cannot delete Admin role

     

  2. You can remove the other two roles, Editor and Viewer.
    Hover your pointer at the right-hand side of the line, and click the Delete (cross) icon.
    In both cases, Kloudfuse notifies you that it successfully removed these roles.

    image-20240823-214549.png
    Can delete Editor role

     

    image-20240823-221348.png
    Can delete Viewer role

  3. Similarly, you can remove the folder permissions for both Users and Groups.

  4. When you finish deleting folder permissions, close the Folder Settings interface.

Delete a Folder

The Folder Management interface provides an option for deleting a folder.

Kloudfuse does not allow users to delete Folders that contain Alerts.
However, you can delete Folders with Dashboards, or empty Folders.

To delete a folder, follow these steps:

  1. Hover your pointer over

  2. When the Delete (trashcan) icon appears, click it.

    image-20240823-223802.png
    Delete a Folder

     

  3. Kloudfuse prompts you to confirm deleting a folder.
    You can click Delete to confirm, or Cancel to stop deleting the folder.

    image-20240823-225921.png
    Confirm deleting a folder

You should see a notification that Kloudfuse deleted the folder successfully.

The Folder Management interface no longer lists My1stFolder.

Limit Editor Access

It is possible for a user with Editor role to create dashboards and alerts that only they and users with Admin role can change. All other users with Edit role can only view these dashboards and alerts.

To accomplish this, follow these steps:

  1. Create a new folder.
    Here, we create the folder Limited Access.
    See Create Folder.

    image-20240828-182039.png
    Create a new folder, named “Limited Access”
  2. Kloudfuse adds the new folder to the Folder Management interface.

  3. Hover your pointer over the name field of the Limited Access folder, and click the Configuration (gear) icon.

  4. In the Change Settings for Limited Access interface, change the Editor role permissions on the folder to Viewer.

    image-20240829-162432.png
    Change Editor permission to Viewer

  5. Create new dashboards and alerts in your folder.
    If you move existing dashboards and alerts into the new folder, they keep their own access permissions, and may still be edited by other users with Editor role.

  6. Have another user with Editor role sign into the system, and attempt to open the configuration of the folder.
    They should see an error.

    image-20240829-165916.png
    Error because user should not be able to access configuration for the folder

  7. Similarly, when they review Dashboards and Alerts in the Limited Access folder, they cannot edit or delete them.

Manage Groups

This section discusses topics related to managing groups in Kloudfuse.

Groups must have unique names.

image-20240822-211224.png
Group Management interface

To manage groups, follow these steps.

  1. Click the Admin tab.

  2. Select Group Management from the menu.

  3. The Group Management interface appears. It contains the following:

    1. Search bar to locate specific groups

    2. Add New Group button

    3. List of existing groups, including the group Name, Email, and the number of Members.

Proceed to make changes, as described in Find a Group, Create a New Group, Assign Group Members, Change a Member’s Permissions, Update Group Email, and Delete a Group.

Find a Group

In large organizations, it may be hard to find an existing group.

Kloudfuse enables easy find through our Search function.

  1. In Group Management, click the Search bar.

  2. Start typing the key word, and Kloudfuse automatically filters the list of potential matches.
    Here, we are looking the group we created in Create a New Group, favorite_people.

  3. When you find the group you plan to change, hover over the Members field, and select the Edit (pencil) icon to start making the planned changes.

    image-20240822-222725.png
    Searching for a group name

Create a New Group

Admin users can create new groups.

To create a new group, follow these steps:

  1. Click the Add New Group button.

  2. The New Group interface appears.

    image-20240822-213024.png
    New Group interface
  3. Create a new group by specifying these fields:

    • Name
      Enter the name of the new group.

    • Email
      Enter the email associated with the group.

  4. Click Create.
    Here, we created a new group with name favorite_people, and email heros

    image-20240822-213934.png
    Creating a new group

     

  5. You should see a notification that Kloudfuse successfully created the new group.

  6. The New Group detail interface appears.

    image-20240822-214258.png
    Group Management detail for a newly created group

You can assign group members and their permissions, update the group email, or exist.

Assign Group Members

Group members can have one of two roles within the group, an Admin or a Member:

  • Admin
    This member can manage the group.

  • Member
    This member cannot change group parameters or permissions of other members.

To assign members to a group, follow these steps:

  1. Click the Add Member button in the Group Management detail interface for the group you plan to change.
    This could be a new group that you just created, or a group that existed for some time.

  2. The Members section expands so you can select or find an existing user, assign their role withing the group, and review their permissions.

    image-20240822-215152.png
    Adding user to group
  3. To select a user from the User menu, click the down-arrow, and click on a user in the list.
    Alternatively, search for the user by username, or search …
    You can change the role within the group before adding the user. By default, all users have Member group role; you can change it to Admin.
    Here, we add user7 as Member.

    image-20240822-215932.png
    Choosing users to add to group, and assign group role
  4. Click Save.

  5. Kloudfuse confirms that you successfully added a new member to the group, and updates the list of members.

    image-20240822-220453.png
    First user added to the group

  6. Proceed to add more users to the group.
    Notice that the number in the Members field increases with each new member of the group.

    image-20240823-163416.png
    Membership numbers increases

Change a Member’s Permission

By default, each new person that you add to a group has a Member permission level. You can easily change the permission to Admin, or change an Admin to Member.

To change the Permission of a group member, follow these steps:

  1. Select the group where you want to make a change.
    If you are struggling to locate the correct group, see Find a Group.

  2. In the Members section of the Group Management detail interface of the group, click the Permission field, and select a different permission.
    Here, we change the permission for user5 from Member to Admin.

    image-20240822-223629.png
    Changing a group member’s permission

     

  3. Kloudfuse notifies you that the permission is successfully updated.

  4. The Members section of the Group Management detail interface shows the changed permission.
    Here, user5 is now an Admin.

    image-20240822-224306.png
    Group member with new permission, changed from Member to Admin

Update Group Email

To change the Email of an existing group, follow these steps:

  1. Select the group where you want to make a change.
    If you are struggling to locate the correct group, see Find a Group.

  2. In the Settings section of the Group Management detail interface of the group, click the Email field, and enter a new email.
    Here, we change the email for group favorite_people from heroes@kloudfuse.com to favorites@kloudfuse.com.

    image-20240822-230153.png

Delete a Group

As organizational needs change, we recommend that you delete groups that no longer serve a business need.

To delete a group, follow these steps:

  1. Hover your pointer over the Members field of the group you plan to delete from the system.

  2. When the Delete (trashcan) icon appears, click it.
    Here, we are deleting the group test2.

    image-20240822-225003.png
    Delete a group
  3. Kloudfuse prompts you to confirm deleting the group.
    You can click Delete to confirm, or Cancel to stop deleting the group.

    image-20240822-225407.png
    Confirm or cancel deleting the group

You should see a notification that Kloudfuse deleted the group successfully.

The Group Management interface no longer lists the group test2.

Manage Policies

Policies are filters that determine the access that users and group have to various assets and artifacts of their organization.

Policies must have unique names.

When a user has multiple policies due to membership in multiple groups, these policy filters apply as a union (in other words, it uses the OR logical operator).

2.7.3.png Users who don’t have an explicitly assigned policy get the default access, specified in Default Policy.

To manage policies, follow these steps:

  1. Click the Admin tab.

  2. Select Policy Management.

  3. The Policy Management interface appears.
    It has the following components:

    • Search bar to locate specific policies

    • List of policies, including the Policy Name, Type, and Scope.

image-20240822-235503.png
Policy Management

Proceed to make changes, as described in Change a Policy, Add a New Policy, and Delete a Policy.

Change a Policy

To change an existing policy, follow these steps:

  1. Hover Hover your pointer over the Scope field of the policy you plan to change.

  2. When the Edit (pencil) icon appears, click on it.

    image-20240823-010203.png
    Changing a policy

  3. The Edit Policy interface appears.
    You can change the Name of the policy, its Type, and its Key (the Operator / Value) tuple.
    You can build the key using logical operators, or regex expressions.
    You can also delete the existing key, and add another key as a filter.
    Here, we are changing the namespace_only policy by swapping the operator = (equal) to =~ (regex similar to).

    image-20240823-005539.png
  4. Click Save Policy.

  5. Kloudfuse confirms that you successfully changed the policy.

Note the changes in the policy as it appears on the Policy Management interface.

image-20240823-010641.png
Changes to the policy

Add a New Policy

To add a new policy, follow these steps:

  1. In that Admin tab, select Policy Management.

  2. The Policy Management interface appears.
    It has the following components:

    • Search bar to locate specific policies

    • List of policies, including the Policy Name, Type, and Scope.

  3. Click the Add New Policy button.

  4. The Add Policy interface appears.

    image-20240823-001103.png

     

  5. In the interface, specify these fields:

    • Name
      Choose a meaningful and descriptive name for your new policy

    • Type
      The options are Custom (default), All, or None.
      You can build custom policies using the Key/Operator/Value specification.

  6. Here, we specify a custom policy test1 with Key kube_namespace, Operator = (equals), and Value octel.

    image-20240823-011116.png
    Adding a Policy

  7. [Optional] You can use multiple filters to define your custom policies. Click the Add Filter button and proceed.

  8. After you finish defining your new policy, click Save Policy.

Kloudfuse confirms that you successfully created a new policy.

Note that the new policy appears on the Policy Management interface.

image-20240823-011912.png
New policy in list of policies

Delete a Policy

To delete an existing policy from your RBAC configuration, follow these steps:

  1. Hover your pointer over the Scope field of the policy you plan to delete from the system.

  2. When the Delete (trashcan) icon appears, click it.

    image-20240823-162620.png
    Deleting a policy
  3. Kloudfuse prompts you to confirm deleting the policy.
    You can click Delete to confirm, or Cancel to stop deleting the policy.

    image-20240823-162844.png
    Confirm or cancel deleting the policy

You should see a notification that Kloudfuse deleted the policy successfully.

The Group Management interface no longer lists the policy test1.

Manage Policy Configuration

Policy configuration in Kloudfuse consists of assigning existing policies to user groups, or removing this assignment.

If a user belongs to more than one group, Kloudfuse combines the filters as a union, or a logical OR operator.

For example,

  • Group A has a policy that allows its members to see data in Namespace A.

  • Group B has a policy that allows its members to see data in Namespace B.

  • User belongs both to Group A and Group B. They can therefore see data in both namespaces.

This section discusses topics related to managing policy configurations in Kloudfuse.

This section describes how to add or delete a policy configuration.

image-20240822-233845.png

Add a New Policy Configuration

To add a new policy configuration, follow these steps:

  1. In that Admin tab, select Policy Config Management.

  2. The Policy Config Management interface appears.

    image-20240822-235801.png
    Policy Config Management interface

  3. Click the Add New Policy Config button.

  4. The interface for creating a new policy configuration appears.

    image-20240822-234100.png
    New policy fields
  5. Select an existing Policy and a Group where you plan to apply it.
    Here, we choose to apply the policy rbac_service_only to the group test group.

    image-20240822-234409.png
    Adding a new policy configuration
  6. Click Save.

  7. You should see a notification that Kloudfuse added the new policy configuration successfully.

The new policy configuration now appears in the interface.

image-20240822-234822.png
New policy configuration added to the list

Delete a Policy Configuration

To delete a policy configuration, follow these steps:

  1. Hover over the Group Name filed.

  2. When the Delete (trashcan) icon appears, click it.

    image-20240823-164901.png
    Deleting a policy configuration
  3. Kloudfuse prompts you to confirm deleting the policy configuration.
    You can click Delete to confirm, or Cancel to stop deleting the policy configuration.

Related content