fix manage roles

This commit is contained in:
2025-05-21 10:35:27 +03:00
parent d3a760b6ba
commit f6156ccfa3
8 changed files with 334 additions and 283 deletions

View File

@@ -17,6 +17,7 @@ from auth.orm import Author, Role
from services.db import local_session
from services.schema import mutation, query
from settings import (
ADMIN_EMAILS,
SESSION_TOKEN_HEADER,
SESSION_COOKIE_NAME,
SESSION_COOKIE_SECURE,