From 96a6779d55ce78b91a85f85e5cd2076a69a8930c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matej=20Zrim=C5=A1ek?= Date: Thu, 22 Feb 2018 14:08:12 +0100 Subject: [PATCH] Fixed misspelled permission call. --- app/controllers/steps_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/steps_controller.rb b/app/controllers/steps_controller.rb index 90f82e65e..bef026835 100644 --- a/app/controllers/steps_controller.rb +++ b/app/controllers/steps_controller.rb @@ -640,7 +640,7 @@ class StepsController < ApplicationController end def check_view_permissions - render_403 unless can_read_protocol_in_module(@protocol) || + render_403 unless can_read_protocol_in_module?(@protocol) || can_read_protocol_in_repository?(@protocol) end