Allow user managment on archived projects [SCI-7761]

This commit is contained in:
Oleksii Kriuchykhin 2023-02-02 15:09:45 +01:00
parent 937c8564f0
commit 53fca4f022

View file

@ -8,8 +8,7 @@ Canaid::Permissions.register_for(Project) do
archive_project
create_project_experiments
create_project_comments
manage_project_tags
manage_project_users)
manage_project_tags)
.each do |perm|
can perm do |_, project|
project.active?