PIDE Help & Guidelines
Help Sections

Management Guide

This guide covers the management subsystems: Role-Based Access Control (RBAC), user management, intern management, organizational structure, and lookup configuration.

Database-Driven All roles, permissions, and assignments are stored in the database. There are no hardcoded roles in the application code. Changes to permissions take effect immediately without code deployment.

Role-Based Access Control (RBAC)

Core Concepts

Concept Description
Role A named set of permissions (e.g., "admin", "coordinator", "supervisor", "intern", "center_head", "employee")
Permission A granular action that can be performed (e.g., users.view, tasks.create, reports.export_pdf)
Role-Permission Assignment Which permissions a role has. Managed via the Role Matrix.
User-Role Assignment Which roles a user holds. A user can have multiple roles (except Intern).

Default Roles

Role Description Exclusive?
admin Full system access. Can manage all settings, users, and data. No
coordinator Manages internship programs, sessions, and reports. No
supervisor Guides assigned interns, manages tasks, approves logs. No
center_head Oversees a research center and its interns. No
employee PIDE staff member with basic portal access. No
intern Internship participant. Cannot hold other roles simultaneously. Yes

Permission Naming Convention

Permissions follow the format: {module}.{action}

Parent Permissions Parent permissions (e.g., users.manage) auto-grant all child permissions when assigned. This simplifies role configuration.

Role Management

Navigate to Roles to manage system roles. Requires rbac.manage permission.

Available Actions

Action Description
Create Role Define a new role with a name, slug, and description
Edit Role Modify role name, description, or status
Clone Role Duplicate an existing role with all its permissions
Archive Role Disable a role. Archived roles cannot be assigned to new users.

Permission Management

Navigate to Permissions to view and manage all system permissions.

Caution Deleting a permission removes it from all roles that have it assigned. This cannot be undone without recreating the permission and re-assigning it.

Role Matrix

The Role Matrix is a grid that shows which permissions each role has. It provides a visual overview of the entire permission structure.

How to Use the Role Matrix

1
Navigate to Roles → Role Matrix Open the matrix view from the sidebar.
2
Toggle Permissions Check or uncheck boxes to grant or revoke permissions for each role.
3
Save Changes Click "Save" to apply all changes. The new permissions take effect immediately for all users.

User Management

Comprehensive user management with import, export, and bulk actions.

User List Features

User Actions

Business Rules

Intern Management

Dedicated management interface for intern lifecycle.

Intern Status Pipeline

Status Description Next Step
Registered Intern has registered, email not yet verified Email verification
Profile Incomplete Email verified, wizard not finished Complete profile wizard
Profile Complete All wizard steps done Center allocation
Allocated Assigned to a research center Supervisor assignment
In Progress Supervisor assigned, internship active Complete internship
Completed Internship finished Certificate generation

Organizational Structure

Research Centers & Sections

Departments

Universities

Lookups