Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
bingo
ServiceCore
Commits
a6fd2ebb
Commit
a6fd2ebb
authored
6 months ago
by
vitaly.erofeev
Browse files
Options
Download
Email Patches
Plain Diff
fix: Сервис проверки прав на редакторы
parent
f1a9e50d
php7
old_develop
2.24.3
2.24.2
2.24.1
2.24.0
2.23.26
2.23.25
2.23.24
2.23.23
2.23.22
2.23.21
2.23.20
2.23.19
2.23.18
2 merge requests
!319
feat: Изменен WebBootstrap. Формирование ответа и статус кода. Запись в лог и...
,
!307
fix: Сервис проверки прав на редакторы
Pipeline
#98464
failed with stage
in 10 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
src/Infrastructure/Service/RightsEditorService.php
src/Infrastructure/Service/RightsEditorService.php
+1
-2
No files found.
src/Infrastructure/Service/RightsEditorService.php
View file @
a6fd2ebb
...
...
@@ -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
;
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help