Role Master
Navigation Path
Company → Masters → Role Master
Module URL
- Role Master Page:
/masters/role-master
ℹ️ This single page is used for listing, adding, editing, and deleting role records.
1. Role List Section
Purpose
Displays all configured roles and allows administrators to manage system access roles.
List Table Columns
| Column Name | Description |
|---|---|
| S No | Serial number |
| Role Name | Name of the role |
| Description | Role description |
| Status | Active / Inactive |
| Actions | Edit and Delete |
Available Features
- Global search by Role Name
- Column-level filter for Role Name and Status
- Checkbox selection for rows
- Edit and Delete actions for each role
2. Add Role
Purpose
Allows administrators to create a new role.
Form Fields
| Field Name | Type | Mandatory | Description |
|---|---|---|---|
| Role Name | Text Input | Yes | Enter role name |
| Description | Text Area | No | Enter role description |
| Status | Toggle / Dropdown | Yes | Set role status |
Actions
| Action | Behavior |
|---|---|
| Save | Validates and saves the role |
| Reset | Clears entered values |
Validation Rules
- Role Name is mandatory
- Duplicate role names are not allowed
3. Edit Role
Purpose
Allows modification of an existing role.
Behavior
- Clicking the Edit icon opens the role in edit mode
- All fields are pre-filled with existing data
Editable Fields
| Field Name | Editable |
|---|---|
| Role Name | Yes |
| Description | Yes |
| Status | Yes |
Actions
| Action | Behavior |
|---|---|
| Update | Saves updated role details |
| Cancel | Discards changes |
4. Delete Role
Purpose
Allows removal of a role record.
Delete Flow
-
Click the Delete icon from the Actions column
-
A confirmation popup appears:
Are you sure you want to delete this Role?
-
User options:
- Yes / Confirm → Permanently deletes the role
- Cancel → Closes the confirmation dialog
Delete Behavior
- Deletion is permanent
- Deletion may be restricted if the role is already assigned to:
- Users
- Employees
- System permissions
Summary
The Role Master controls system access levels by defining roles, enabling structured permission management across the application.
End of Documentation