Repository navigation
ADR 0004 central rbac
github-actions[bot] edited this page Oct 15, 2026
·
1 revision
Generated from
docs/adr/0004-central-rbac.mdin the repository. Edit it there; this wiki is rebuilt on every change.
Accepted.
Role checks were duplicated across blueprints with slightly different behavior, which is easy to get wrong as routes multiply.
One module, app/services/rbac.py, defines a role ranking and
role_required(minimum), plus operator_required and admin_required. Denials
return JSON 403 for API callers and a redirect for browser navigation.
- Consistent enforcement across all routes.
- New routes pick the right gate with one decorator.
- Sessions remain isolated per user via Flask-Login.
Repository · Docker Hub · Report a security problem · MIT licence
Start
Deploy
- Deploy on AWS EC2
- Run on Any Cloud
- Configuration
- MQTT Heartbeat
- VPN and Network
- Database Migration
Use
How it is built
Project
Decision records