更改:更改发行版权限降至开发者

This commit is contained in:
yystopf 2023-03-27 15:11:21 +08:00
parent 67fb6fce94
commit a9ecb5e47e
1 changed files with 1 additions and 1 deletions

View File

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