Frontend
Masters
Role Master

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 NameDescription
S NoSerial number
Role NameName of the role
DescriptionRole description
StatusActive / Inactive
ActionsEdit 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 NameTypeMandatoryDescription
Role NameText InputYesEnter role name
DescriptionText AreaNoEnter role description
StatusToggle / DropdownYesSet role status

Actions

ActionBehavior
SaveValidates and saves the role
ResetClears 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 NameEditable
Role NameYes
DescriptionYes
StatusYes

Actions

ActionBehavior
UpdateSaves updated role details
CancelDiscards changes

4. Delete Role

Purpose

Allows removal of a role record.

Delete Flow

  1. Click the Delete icon from the Actions column

  2. A confirmation popup appears:

    Are you sure you want to delete this Role?

  3. 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