forked from Gitlink/forgeplus
Merge branch 'develop' into standalone_develop
This commit is contained in:
commit
a079f6183a
|
@ -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…
Reference in New Issue