mirror of
https://github.com/donpat1to/Schichtenplaner.git
synced 2025-11-30 22:45:46 +01:00
25 lines
1008 B
Markdown
25 lines
1008 B
Markdown
## User Settings
|
|
|
|
### \[UPDATE\] Personal availability
|
|
* Only the employee themselves can manage their availability
|
|
* Must select a valid shift plan with defined shifts
|
|
* All changes require explicit save action
|
|
|
|
### \[VIEW\] ShiftPlan assignments
|
|
* Published plans show actual assignments
|
|
* Draft plans show preview assignments (if calculated)
|
|
* Regular users can only view, not modify assignments
|
|
|
|
## System-wide
|
|
|
|
### \[ACCESS\] Role-based restrictions
|
|
* `admin`: Full access to all features
|
|
* `maintenance`: Access to shift plans and employee management (except admin users)
|
|
* `user`: Read-only access to shift plans, can manage own availability and profile
|
|
|
|
### \[DATA\] Validation rules
|
|
* Email addresses are automatically generated from firstname/lastname
|
|
* Employee status (`isActive`) controls login and planning eligibility
|
|
* Trainee status affects independence (`canWorkAlone`) automatically
|
|
* Date ranges must be valid (start before end)
|
|
* All required fields must be filled before form submission |