Refactor to manager-centric model, add team calendar for all users

Key changes:
- Removed office-centric model (deleted offices.py, office-rules)
- Renamed to team-rules, managers are part of their own team
- Team calendar visible to all (read-only for employees)
- Admins can have a manager assigned
This commit is contained in:
Stefano Manfredi
2025-12-02 13:30:04 +00:00
parent 2ad8ba3424
commit 7168fa4b72
30 changed files with 1016 additions and 910 deletions

View File

@@ -1,7 +1,7 @@
services:
parking:
build: .
container_name: parking-manager
container_name: parking
restart: unless-stopped
ports:
- "8000:8000"
@@ -26,9 +26,10 @@ services:
timeout: 10s
retries: 3
start_period: 10s
networks:
- org-network
# For production with external network (Caddy/Authelia):
# networks:
# default:
# external: true
# name: proxy
networks:
org-network:
external: true
name: org-stack_org-network