Skip to main content

Roles & Permissions

Peak provides a flexible Role & Permission system that allows administrators to define granular access control for users across the platform.

Managing Roles

To manage user roles:

  1. Navigate to Admin → Users → Roles
  2. You’ll see a list of all existing roles.
  3. From here, you can edit or delete roles, and manage which permissions are assigned to each.

Add a New Role

To create a new role:

  1. Click on the New Role button.
  2. Fill in the following fields:
    • Name: (required field) The name of the role (e.g., Admin, Editor, Viewer).
    • Permissions: (optional field) Select or unselect the permissions this role should have access to.

Managing Permissions

To manage permissions independently:

  1. Navigate to Admin → Users → Permissions
  2. You’ll see a list of all available permissions, organized by group.
  3. From here, you can edit or delete permissions.

Add a New Permission

To create a new permission:

  1. Click on the New Permission button.
  2. Fill in the following fields:
    • Name: (required field) A short, descriptive identifier (e.g., edit-users, view-dashboard)
    • Group: (optional field) Organize permissions under a group like users, changelog, billing, etc.

Notes

  • Roles act as permission containers, making it easier to manage user access levels.
  • A user can only be assigned one role at a time.
  • Changes to roles or permissions take effect immediately.
  • Permissions can be reused across multiple roles.

This system gives you complete control over what users can see and do inside the platform. Let us know if you want to automate role assignment on user registration or subscription.