Skip to Content
GuidesUser Roles

Setting Up User Roles

Flute CMS uses the RBAC (Role-Based Access Control) system — this is a tool for managing user access to different sections and functions of the website. The role system allows you to precisely configure who and what can do on your site.

RBAC means “Role-Based Access Control” — this is a standard approach to managing user rights in modern CMS.

⚠️

To edit roles you need admin.roles or admin.boss permissions.

Basic Role System

What is a role?

A role is a set of permissions (access rights) that can be assigned to a user. Each role defines:

  • Access to sections — which pages of the admin panel the user can see
  • Possible actions — what the user can do (create, edit, delete)
  • Visual display — role color and icon on the site

Role hierarchy

Roles in Flute CMS have a strict hierarchy:

  1. admin.boss — super administrator (full access to everything)
  2. User roles — created by the administrator
  3. user — regular user (basic rights)
⚠️

The admin.boss role has absolute power and cannot be limited by other roles!

Creating and configuring roles

Creating a new role

To create a role:

  1. Go to Admin panelUsers and rolesRoles
  2. Click the Create role button
  3. Fill in the basic information about the role

Creating a role

Basic role parameters

  1. Role name — any role name
  2. Role color — color that will be used to highlight the role on the site
  3. Icon — role icon

For selecting icons, all icons from FontAwesome and PhosphorIcons are automatically loaded.

Access rights system

Access rights categories

Each right has its own description of what it is responsible for.

Access rights

⚠️

Be careful when granting rights! Some rights may give the user the ability to change critical site settings.

Role priority and hierarchy

How priority works

The priority of roles is determined by their order in the list:

  1. Highest priority — roles at the top of the list
  2. Lowest priority — roles at the bottom of the list

A user with a higher priority role can manage users with lower priority roles.

Role priority

Changing priority

To change the priority of a role:

  1. Go to the list of roles
  2. Drag the role to the desired position
  3. Save changes
⚠️

The role with the admin.boss rights always has the highest priority!

Assigning roles to users

Assigning through user profile

  1. Go to Admin panelUsers
  2. Find the user you need
  3. Click “Edit”
  4. In the “Roles” section select the desired roles
  5. Save changes

Multiple roles

A user can have multiple roles at the same time:

  • Rights are summed up — the user receives all rights from all their roles
  • Priority is determined by the highest role — for display, the role with the highest priority is used

If a user has the “Moderator” and “VIP” roles, they will receive rights from both roles, but the role with the higher priority will be displayed.