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:
- Navigate to Admin → Users → Roles
- You’ll see a list of all existing roles.
- 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:
- Click on the New Role button.
- 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:
- Navigate to Admin → Users → Permissions
- You’ll see a list of all available permissions, organized by group.
- From here, you can edit or delete permissions.
Add a New Permission
To create a new permission:
- Click on the New Permission button.
- 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.
- Name: (required field) A short, descriptive identifier (e.g.,
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.