Documentation Index
Fetch the complete documentation index at: https://mintlify.com/CspmIT/centinela-front/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Centinela implements a role-based access control (RBAC) system with five distinct user profiles. Each profile has specific permissions that control access to features and data within the system.User Profiles
The system defines the following user profiles:Profile 5 (External User) is handled separately with restricted access. See External Users for details.
Profile Definitions
Super Admin (Profile 1)
Super Admin (Profile 1)
Full System AccessSuper Admins have unrestricted access to all system features and configurations:
- Complete user management
- System configuration
- Security settings
- All monitoring and control features
- Data export and reporting
- Menu customization
- Variable configuration
Moderador (Profile 2)
Moderador (Profile 2)
System ManagementModerators can:
- View and manage users (except Super Admins)
- Configure charts and dashboards
- Manage alarms and notifications
- Access all monitoring features
- Configure diagrams and visualizations
- Modify Super Admin users
- Change critical system configurations
- Access certain administrative functions
Lector (Profile 3)
Lector (Profile 3)
Read-Only AccessReaders have view-only permissions:
- View dashboards and charts
- Monitor real-time data
- Access diagrams
- View notifications
- Modify any configurations
- Create or edit users
- Change system settings
- Control equipment
Operador (Profile 4)
Operador (Profile 4)
Operational ControlOperators can:
- Control pumps and equipment
- Manage operational parameters
- View real-time monitoring
- Acknowledge alarms
- Create operational reports
- Modify user accounts
- Change system configurations
- Access security settings
Route Access Control
Access to routes is controlled based on user profile:Internal User Routes
Profiles 1-4 have access to these routes:Main dashboard with system overview
User management interface
Charts and analytics dashboard
Menu configuration
Diagram management
Pump control configuration
Variable configuration
Alarm configuration
External User Routes
Profile 5 has restricted access:External users attempting to access internal routes are automatically redirected to their dashboard:
User Management Interface
The security configuration page displays all users (except Super Admins):User Table Columns
The user management table displays:User’s first and last name combined
User’s email address (used for login)
User’s role displayed as profile name
User’s password (masked by default with show/hide toggle)
User status (1 = Enabled, 0 = Disabled)
Editing Users
Authorized users can edit user information through the security interface:Edit User Form
The user edit interface allows modification of:- User password
- (Name is displayed but read-only)
User Status Management
Users can be enabled or disabled:- Status 1: User is active and can log in
- Status 0: User is disabled and cannot access the system
Permission Matrix
| Feature | Super Admin | Moderador | Lector | Operador | External |
|---|---|---|---|---|---|
| View Dashboards | ✅ | ✅ | ✅ | ✅ | ⚠️ Limited |
| Edit Users | ✅ | ✅ | ❌ | ❌ | ❌ |
| Configure System | ✅ | ✅ | ❌ | ❌ | ❌ |
| Control Equipment | ✅ | ✅ | ❌ | ✅ | ❌ |
| Configure Alarms | ✅ | ✅ | ❌ | ❌ | ❌ |
| View Reports | ✅ | ✅ | ✅ | ✅ | ⚠️ Limited |
| Export Data | ✅ | ✅ | ❌ | ✅ | ❌ |
Best Practices
Least Privilege
Assign users the minimum profile level needed for their role
Regular Audits
Periodically review user permissions and disable inactive accounts
Strong Passwords
Enforce password complexity requirements for all users
Monitor Access
Track user logins and actions for security compliance
When creating new users, ensure they’re assigned to the appropriate profile based on their job responsibilities and access requirements.
Example User Data
Here’s an example of user data structure:Next Steps
Authentication
Learn about the authentication flow
External Users
Configure external user access
