Roles
The Roles module allows administrators to define and manage access control across the system. Roles determine which permissions users have and whether they can perform specific actions on modules such as Users, Suppliers, Inventory, POS, Reports, and more.
Index Page
The Roles Index Page displays a list of all roles in the system, both built-in and custom.

Filters
- Role Type – Built-in, Custom
- Date Range
- From
- To
Actions
- Create Role
Row Actions
- Edit Role
- Delete Role – only available if role is Custom
Bulk Actions
- Delete Role – only available for Custom roles
CRUD Attributes
| Attribute | Description | Required |
|---|---|---|
| Name | The name of the role (e.g., Manager, Cashier). | Yes |
| Permissions | Toggle module-level permissions for the role. | Optional |
Create Page
The Create Role Page is used to define new custom roles with specific permissions.

- Provide a Role Name (required).
- Select one or more permissions across all modules:
- Users, Roles, Suppliers, Units, Ingredients, Purchases, POS, Reports, Media, etc.
- Permissions include actions such as:
- Index (view list)
- Show (view details)
- Create
- Edit
- Delete
- By default, no permissions are selected, allowing a granular setup.
Edit Page
The Edit Role Page allows administrators to update an existing role’s name or adjust its permissions.

- Allows updating the role name.
- Modify permissions by toggling modules and actions.
- Built-in Roles:
- Cannot be deleted.
- Custom Roles:
- Fully editable (name and permissions).
- Can be deleted if no longer needed.
Notes
- Built-in roles (e.g., Super Admin, Admin, Manager, Cashier, Kitchen, Waiter) are provided by the system and cannot be deleted.
- Custom roles are fully configurable and removable.
- Permissions determine visibility and access within the system menus, forms, and reports.
