Commit a6fd2ebb authored by vitaly.erofeev's avatar vitaly.erofeev
Browse files

fix: Сервис проверки прав на редакторы

2 merge requests!319feat: Изменен WebBootstrap. Формирование ответа и статус кода. Запись в лог и...,!307fix: Сервис проверки прав на редакторы
Pipeline #98464 failed with stage
in 10 seconds
......@@ -29,8 +29,7 @@ class RightsEditorService
$isAvailable = self::getQueryBuilder()
->select('is_available')
->from('access_editor.rights_editors')
->where('role_id = :roleId')
->where('editor_id = :editorId')
->where('role_id = :roleId and editor_id = :editorId')
->setParameter('roleId', $roleId)
->setParameter('editorId', $editorId)
->execute()->fetchColumn() ?? false;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment