Roles — create, edit (status), permissions link
Menu: Security → Roles
How to create a role
- Click Add Role (needs permission to manage roles).
- Dialog: Add Role.
- Enter Role name — cannot be empty; otherwise Role name is required.
- Status switch defaults to active for new roles in the API flow.
- Submit — success Role created successfully.
How to edit a role
- Click Edit on the row.
- Dialog: Edit Role.
- Built-in Admin role (internal admin) cannot be modified — you get Admin role cannot be modified.
- For normal roles: role name field is shown but the save path keeps the original name — you mainly change Status (Active/Inactive).
- Save — Role status updated successfully.
How to view roles
There is no separate view dialog — read the table (role name, status, etc.).
Permissions (not the same as “edit role name”)
- Click Manage Permissions (or lock icon) on a role.
- You go to the Permission screen with that role pre-selected to tick module permissions.
List filters
Search by role name, Status (All / Active / Inactive), Refresh.
Required vs optional
| Action | Required input |
|---|---|
| Create | Role name (non-empty trimmed) |
| Edit | Status change (name locked for existing role in code path) |
