0.7.5-topicfix

This commit is contained in:
2025-07-03 00:20:10 +03:00
parent 27c5a57709
commit 441cca8045
19 changed files with 2008 additions and 3213 deletions

View File

@@ -119,7 +119,7 @@ class AuthMiddleware:
# Создаем пустой словарь разрешений
# Разрешения будут проверяться через RBAC систему по требованию
scopes = {}
scopes: dict[str, Any] = {}
# Получаем роли для пользователя
ca = session.query(CommunityAuthor).filter_by(author_id=author.id, community_id=1).first()