Add Django administration for author accounts: Auteurs group, use_editor permission, grant/revoke actions, shared login throttling

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
denis
2026-10-16 22:35:41 +02:00
parent 9496b5b054
commit 398e4487ad
23 changed files with 451 additions and 69 deletions
@@ -41,3 +41,4 @@ CSRF_TRUSTED_ORIGINS = [_required("PYQUEST_ORIGIN")]
SESSION_COOKIE_SECURE = True
CSRF_COOKIE_SECURE = True
TRUST_REAL_IP_HEADER = True # nginx écrase X-Real-IP (voir nginx/pyquest.conf.example)
STATIC_ROOT = os.environ.get("PYQUEST_STATIC_ROOT", "/var/www/pyquest/static") # servi par nginx : /api/static/