mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-04-28 22:41:14 +08:00
Fix reorder permission check [SCI-6941] (#4195)
This commit is contained in:
parent
e38fbf4b10
commit
bcb8ed95fc
1 changed files with 1 additions and 1 deletions
|
@ -584,7 +584,7 @@ class StepsController < ApplicationController
|
|||
end
|
||||
|
||||
def check_protocol_manage_permissions
|
||||
render_403 unless can_manage_protocol_in_module?(@protocol)
|
||||
render_403 unless can_manage_protocol_in_module?(@protocol) || can_manage_protocol_in_repository?(@protocol)
|
||||
end
|
||||
|
||||
def check_manage_permissions
|
||||
|
|
Loading…
Add table
Reference in a new issue