From 4e40b557a37581c92cc17b94e123a04e46467bdf Mon Sep 17 00:00:00 2001 From: Lukas Krause Date: Wed, 25 Sep 2019 14:59:52 +0200 Subject: [PATCH] Allow accessing staging project show page without being logged in There is no reason to require being logged in to obs, in order to see the content of the staging project show page. Fixes #7353 --- src/api/app/controllers/webui/staging/projects_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/app/controllers/webui/staging/projects_controller.rb b/src/api/app/controllers/webui/staging/projects_controller.rb index 47cbf784de8..558540d4f62 100644 --- a/src/api/app/controllers/webui/staging/projects_controller.rb +++ b/src/api/app/controllers/webui/staging/projects_controller.rb @@ -1,7 +1,7 @@ module Webui module Staging class ProjectsController < WebuiController - before_action :require_login + before_action :require_login, except: :show before_action :set_staging_workflow after_action :verify_authorized, except: :show