Browse Source

Merge branch 'develop' into standalone_develop

pull/342/head
yystopf 3 years ago
parent
commit
a079f6183a
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/controllers/version_releases_controller.rb

+ 1
- 1
app/controllers/version_releases_controller.rb View File

@@ -163,7 +163,7 @@ class VersionReleasesController < ApplicationController
end

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

Loading…
Cancel
Save