mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-27 02:04:33 +08:00
Fix results comments permission helper [SCI-6146] (#3594)
Co-authored-by: Anton <anton@scinote.net>
This commit is contained in:
parent
ed27197f83
commit
69a3c5f5ec
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ module CommentHelper
|
|||
when 'StepComment'
|
||||
can_update_comment_in_my_module_steps?(comment)
|
||||
when 'ResultComment'
|
||||
can_manage_result_comment?(comment.becomes(Comment))
|
||||
can_manage_result_comment?(comment)
|
||||
when 'ProjectComment'
|
||||
can_manage_project_comment?(comment)
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue