Overview
The Playground system includes comprehensive user management capabilities for administrators to control access, manage team members, and track user activity across the platform.User Authentication
Administrators authenticate using password-protected access to modify schedules and system data.Authentication System
The system uses Firebase Authentication with password-based login:Passwords are stored securely in Firebase and retrieved at runtime to validate administrator access.
User Roles
The system supports multiple user types:Administrators
Full access to schedule management, data export, and system configuration
Advisors
View-only access to personal schedules and shift information
Support Roles
Special designations like “Apoyo Sura” with specific permissions
System Users
Automated accounts for system operations and special events
Managing User Accounts
Adding New Users
To add a new user to the system:- Access the Firebase database
- Navigate to the
agentesreference - Add a new entry with username and password
- Configure appropriate permissions
User Display Format
Usernames are stored with underscores but displayed with spaces for readability:Activity Tracking
The system maintains a comprehensive activity log for all user actions.Change History
All schedule modifications are tracked with:- Timestamp of the change
- User who made the change
- Before and after values
- Affected cells/schedules
Permission System
Write Access Control
Schedule modifications require authentication:Special User Types
Some users have special designations that affect system behavior:- D (Descanso): Day off marker
- DF (Día de la familia): Family day marker
- AS (Apoyo Sura): Support role designation
User Session Management
Current User Storage
The system uses localStorage to maintain the current user context:Session Persistence
User sessions persist across page reloads through localStorage, ensuring continuity when viewing schedules and making changes.Best Practices
Password Security
Password Security
- Store passwords in Firebase with appropriate security rules
- Never hardcode passwords in client-side code
- Implement password expiration policies
- Use Firebase Authentication for enhanced security
User Onboarding
User Onboarding
- Create user accounts with standardized naming (First_Last format)
- Assign appropriate roles immediately
- Document special permissions in the system
- Train users on their access levels
Audit Trail
Audit Trail
- Review change history regularly
- Monitor for unauthorized access attempts
- Keep backup logs of all modifications
- Document administrative actions
Related Pages
Shift Tracking
Learn about managing employee shifts and schedules
Data Export
Export user data and schedules in various formats
