Browse Source

Merge branch 'pre_trustie_server' into trustie_server

pull/330/head
yystopf 3 years ago
parent
commit
c5984a91af
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