rbac-fixes
Some checks failed
Deploy on push / deploy (push) Failing after 2m36s

This commit is contained in:
2025-08-20 19:48:28 +03:00
parent 3d703ed983
commit 59767bdae4
6 changed files with 167 additions and 132 deletions

View File

@@ -337,7 +337,7 @@ class RBACOperationsImpl(RBACOperations):
ca.remove_role(role)
# Если ролей не осталось, удаляем запись
if ca.role_list:
if not ca.role_list:
session.delete(ca)
session.commit()