mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-27 18:52:07 +08:00
SCI-4674 fix stupid
This commit is contained in:
parent
77e1feda97
commit
26f4f24cc6
1 changed files with 2 additions and 2 deletions
|
@ -62,8 +62,8 @@ Canaid::Permissions.register_for(MyModule) do
|
|||
assign_sample_to_module
|
||||
complete_module
|
||||
create_comments_in_module
|
||||
create_repository_snapshot
|
||||
manage_repository_snapshots)
|
||||
create_my_module_repository_snapshot
|
||||
manage_my_module_repository_snapshots)
|
||||
.each do |perm|
|
||||
can perm do |_, my_module|
|
||||
my_module.active? &&
|
||||
|
|
Loading…
Reference in a new issue