Roles & Privileges

The Roles & Privileges module manages access control for your admin panel. You can create custom roles with specific permissions to control what each admin user can do.

Accessing Roles & Privileges

  1. Log in to the admin panel at https://your-domain/admin
  2. Click Role & Privileges in the sidebar under "System Settings"
  3. You will land on the Roles & Privileges hub page

role privileges
Roles & Privileges

Roles & Privileges Overview

The hub page provides access to two management sections:

ModuleDescription
RolesCreate and manage admin roles
PrivilegesDefine granular permissions

Managing Roles

Navigate to Role & Privileges → Roles to manage admin roles.

Roles List

The roles table displays:

ColumnDescription
NameRole display name
DescriptionRole description
UsersNumber of users with this role
PrivilegesNumber of assigned permissions
SortDisplay order
ActionsEdit, Reorder, and Delete buttons

Creating a Role

  1. Click the Create Role button
  2. Fill in the role details:
    • Name — Role name (required)
    • Description — Role description
    • Privileges — Select permissions to assign
  3. Click Save to create

Editing a Role

  1. Click the Edit button on the role row
  2. Modify the role details
  3. Update privilege assignments
  4. Click Save to update

Deleting a Role

  1. Click the Delete button on the role row
  2. Confirm the deletion

Warning: You cannot delete the Super Admin role. Users with this role will lose access if deleted.

Reordering Roles

Drag and drop roles to reorder them in the list. This affects how roles appear in dropdowns and selection menus.

Managing Privileges

Navigate to Role & Privileges → Privileges to manage permissions.

Privileges List

The privileges table displays:

ColumnDescription
NamePermission name
GroupPermission category
DescriptionPermission description
ActionsEdit and Delete buttons

Creating a Privilege

  1. Click the Create Privilege button
  2. Fill in the privilege details:
    • Name — Permission name (required)
    • Group — Category for organization
    • Description — What this permission allows
  3. Click Save to create

Editing a Privilege

  1. Click the Edit button on the privilege row
  2. Modify the details
  3. Click Save to update

Deleting a Privilege

  1. Click the Delete button on the privilege row
  2. Confirm the deletion

Note: Deleting a privilege removes it from all roles that had it assigned.

Permission Groups

Permissions are organized into logical groups:

GroupDescription
User ManagementCreate, edit, delete users
Prediction ManagementManage predictions, teams, competitions
FinancialManage payments, withdrawals, gateways
ContentManage blog, legal pages, comments
SettingsConfigure system settings
ThemeManage themes and appearance
NotificationsConfigure notification channels

Default Roles

The platform comes with default roles:

RoleDescription
Super AdminFull access to all features
AdminLimited administrative access
ModeratorContent moderation capabilities

Best Practices

  • Follow least privilege — Only assign necessary permissions
  • Create role hierarchy — Define clear role levels
  • Audit regularly — Review role assignments periodically
  • Document roles — Clearly describe what each role can do
  • Test permissions — Verify role access before deployment
  • Avoid Super Admin duplication — Limit Super Admin count