Separate staff roles and protect message delivery with operator guides
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2026-09-13 21:00:53 +09:00
parent d5a9c13b68
commit 3c1a6a02a5
25 changed files with 916 additions and 548 deletions

View File

@@ -23,7 +23,7 @@ async def demo_admin_features():
first_name="Администратор",
last_name="Системы"
)
await UserService.set_admin(session, 123456789, True)
# Staff roles are assigned by a system administrator through /staff.
print(f"✅ Создан администратор: {admin.first_name}")
# Создаем тестовых пользователей