diff --git a/app/permissions/result.rb b/app/permissions/result.rb index 7730a5bce..e46db9ce1 100644 --- a/app/permissions/result.rb +++ b/app/permissions/result.rb @@ -8,7 +8,6 @@ Canaid::Permissions.register_for(Result) do can :manage_result do |user, result| !result.archived? && !result.my_module.archived_branch? && - result.unlocked?(result) && result.my_module.permission_granted?(user, MyModulePermissions::RESULTS_MANAGE) end