mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-03-04 03:36:44 +08:00
fix permissions for experiment actions
This commit is contained in:
parent
a4bf5516a5
commit
1ba5f1748f
1 changed files with 1 additions and 1 deletions
|
@ -356,7 +356,7 @@ module PermissionHelper
|
|||
# ---- EXPERIMENT PERMISSIONS ----
|
||||
|
||||
def can_view_experiment_actions(experiment)
|
||||
can_edit_experiment(experiment) &&
|
||||
can_edit_experiment(experiment) ||
|
||||
can_archive_experiment(experiment)
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue