Merge branch 'develop' into standalone_develop

This commit is contained in:
yystopf 2023-03-31 10:11:37 +08:00
commit a079f6183a
1 changed files with 1 additions and 1 deletions

View File

@ -163,7 +163,7 @@ class VersionReleasesController < ApplicationController
end end
def check_release_authorize def check_release_authorize
return render_forbidden("您没有权限进行此操作.") unless current_user.admin? || @project.develper?(current_user) return render_forbidden("您没有权限进行此操作.") unless current_user.admin? || @project.manager?(current_user) || @project.develper?(current_user)
end end
end end