From 019e0a540b6f41cc466d4ab14cdd6dd67de3da00 Mon Sep 17 00:00:00 2001 From: xxq250 Date: Tue, 13 Jun 2023 16:31:59 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A3=8E=E9=9B=B7=E5=8D=8F=E8=AE=AE=E6=9D=83?= =?UTF-8?q?=E9=99=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controllers/apply_signatures_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/apply_signatures_controller.rb b/app/controllers/apply_signatures_controller.rb index 1fbad047a..b5b6646ec 100644 --- a/app/controllers/apply_signatures_controller.rb +++ b/app/controllers/apply_signatures_controller.rb @@ -71,6 +71,6 @@ class ApplySignaturesController < ApplicationController end def require_owner - normal_status(403, "") unless @project.owner?(current_user) + normal_status(403, "") unless @project.owner?(current_user) || current_user.admin? end end \ No newline at end of file