风雷协议权限

This commit is contained in:
xxq250 2023-06-13 16:31:59 +08:00
parent 517678f5ae
commit 019e0a540b
1 changed files with 1 additions and 1 deletions

View File

@ -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