Role Hierarchy
P.FLEX implements a comprehensive role-based access control (RBAC) system with six distinct user roles:Sistemas
System AdministratorFull system access
Jefatura
ManagementStrategic oversight
Supervisor
SupervisorProduction management
Asistente
AssistantSupport tasks
Operario
OperatorProduction floor
Encargado
SupervisorArea management
Role Definitions
1. Sistemas (System Administrator)
Admin Total
Full System AccessComplete control over all system functions, configurations, and user management.
Permissions
User Management
User Management
- Create, edit, and deactivate user accounts
- Assign roles and permissions
- Reset passwords
- View user activity logs
System Configuration
System Configuration
- Configure shift times and names
- Set password policies
- Configure auto-logout timeouts
- Manage plant settings
Machine Administration
Machine Administration
- Add, edit, and deactivate machines
- Assign machines to production areas
- Update machine status
- Configure machine types
Audit & Security
Audit & Security
- Access all audit logs
- Review security events
- Monitor system health
- Configure backup settings
Access Areas
✅ All modules and features ✅ Admin configuration panel ✅ User and role management ✅ System settings and security ✅ Complete audit trail access2. Jefatura (Management)
Executive Oversight
Strategic ManagementAccess to reports, KPIs, and approval workflows for high-level decision making.
Permissions
Ver Dashboard
Full access to production KPIs and analytics
Aprobar OTs
Review and approve work orders
Reportes
Generate and export all reports
Gestión Usuarios
Limited user management capabilities
Access Areas
✅ Dashboard with full KPIs ✅ OT list and approval ✅ Production schedule ✅ All reports (Print, Diecut, Rewind, Packaging) ✅ Inventory overview ✅ Incidents and quality reports ✅ Analytics and indicators ✅ Audit trail (read-only)3. Supervisor
Production Management
Shift & Production ControlManage daily operations, assign tasks, and ensure quality standards.
Permissions
Asignar Tareas
Assign work orders to operators and machines
Cerrar Turno
Complete shift reports and handovers
Validar Calidad
Review and validate quality checks
Ver OTs
View all work orders and production status
Access Areas
✅ Dashboard (production metrics) ✅ OT list (view and assign) ✅ Production schedule ✅ Reports (department-specific) ✅ Inventory (view and update) ✅ Incidents (create and manage) ✅ Quality validation4. Operario (Operator)
Production Floor
Machine OperationRegister production data and operate assigned workstations.
Permissions
Registrar Producción
Create production reports for assigned machines
Ver OTs
View work orders assigned to them
Access Areas
✅ Operator station selector ✅ Machine-specific production forms ✅ View assigned OTs ✅ Report incidents ✅ View shift informationOperator Workflow
Select Workstation
After login, choose from 4 stations:
- Impresión (ST-01) - Printing station
- Troquelado (ST-02) - Die-cutting station
- Rebobinado (ST-03) - Rewinding station
- Empaquetado (ST-04) - Packaging station
Register Production
Fill out production report with:
- OT number
- Start/end times
- Production quantities
- Quality checks
- Issues/incidents
5. Asistente & Encargado
These roles are customizable by administrators and typically fall between Supervisor and Operario permissions.
Permission Matrix
| Feature | Sistemas | Jefatura | Supervisor | Operario |
|---|---|---|---|---|
| Dashboard | ✅ Full | ✅ Full | ✅ Limited | ❌ No |
| View OTs | ✅ | ✅ | ✅ | ✅ (assigned) |
| Approve OTs | ✅ | ✅ | ❌ | ❌ |
| Create Reports | ✅ | ✅ | ✅ | ✅ (own) |
| View All Reports | ✅ | ✅ | ✅ | ❌ |
| Schedule | ✅ | ✅ | ✅ View | ❌ |
| Inventory | ✅ Full | ✅ View | ✅ Update | ❌ |
| Incidents | ✅ | ✅ | ✅ | ✅ Create |
| Analytics | ✅ | ✅ | ✅ Limited | ❌ |
| Audit Logs | ✅ Full | ✅ View | ❌ | ❌ |
| User Management | ✅ Full | ✅ Limited | ❌ | ❌ |
| System Config | ✅ | ❌ | ❌ | ❌ |
| Machine Admin | ✅ | ❌ | ❌ | ❌ |
Viewing Your Role
Your current role is always visible in the application:Sidebar Profile
Header Display
Role Assignment
Only Sistemas and Jefatura roles can assign or modify user roles.
How Roles Are Assigned
Optional: Assign Areas
For Supervisors and Operarios, assign specific production areas:
- Nave A (Printing)
- Nave B (Printing)
- Nave C (Die-cutting)
- Nave D (Finishing)
Security & Audit
All role-based actions are logged:Audit Trail Includes:
Login Events
- User authentication
- Shift selection
- Failed login attempts
Data Changes
- Production reports
- OT modifications
- Inventory updates
Permission Usage
- Approval actions
- Configuration changes
- User management
System Events
- Machine status changes
- Offline/online transitions
- Sync operations
Best Practices
Principle of Least Privilege
Users should only have the minimum permissions needed for their job function.
Next Steps
Navigation Guide
Learn how to navigate based on your role
Operator Guide
Production floor workflows
Dashboard Guide
Management interface overview
Admin Panel
System administration guide
