The User Roles page allows you to create and manage user roles within the system. Roles define the permissions and access levels for different user groups. This page is used to control user access and streamline permission management.

Accessing the User Roles Page
- Sign in to the system with your credentials.
- Navigate to the "Users" section and select "Roles".
Understanding the User Roles Page
-
Header:
- Roles: The title of the page.
- "Role Management" (Subheading): Indicates this is the role management section.
- "ADD ROLE" Button: Allows you to create a new user role.

-
Role List Table:
- Columns:
- Name: The name of the user role (e.g., "Admin," "Manager," "Cashier").
- Color: A visual representation of the role using a color.
- Active: Indicates whether the role is active (checkmark for yes).
- Search Bar (Top Right): Allows you to search for roles by name.

-
Pagination:
- Shows the number of roles per page and allows you to navigate through multiple pages.
Editing a Role
- Click on a role's row to edit its details and permissions. (Example: Click on "Waiter" role).
- Edit Role Modal/Overlay:
- Role Name: Allows you to edit the role's name.
- Color: Allows you to change the role's color.
- Active: Allows you to activate or deactivate the role.
- List of Permissions (Checkboxes):
- Action:
- Admin
- Order: Create, view, and manage orders.
- Payment: Handle and manage payments for orders.
- Change Payment: Change payment method for completed payments.
- Void Payments: Issue refunds for payments.
- Discount: Apply discounts to orders.
- Custom Discount: Allows to define custom discounts.
- Custom Pricing: Allow use of items with custom pricing.
- Open Check: Allow opening of separate accounts.
- Open Sales Period: Open and close the sales period.
- Assign Customer: Assign customers to orders.
- Create Customer: Create new customer records.
- Edit Customer: Edit customer records.
- Delete Customer: Delete customer records.
- View All Tables: View all tables and their status.
- View All Orders: View all orders.
- View Own Orders: View own orders.
- Void Orders: Void orders.
- View Closed Orders: View closed orders.
- View Receipts: View receipts for orders.
- Reprint Receipts: Reprint receipts.

- Email Receipts: Email receipts to customers.
- Void Receipts: Allow to void previously issued receipts.
- Configure Menu: Allow to configure and manage menu items (Placeholder).
- Configure SKU: Allows to configure and manage Stock Keeping Units (Placeholder).
- Configure Payment Methods: Allows to configure and manage payment methods (Placeholder).