forked from Trustie/forgeplus
[FIX]repository setting entry error
This commit is contained in:
parent
70922b81db
commit
c299c9fa69
|
@ -88,7 +88,7 @@ class RepositoriesController < ApplicationController
|
|||
end
|
||||
|
||||
def edit
|
||||
return render_forbidden if !@project.manager?(current_user)
|
||||
return render_forbidden if !@project.manager?(current_user) && !current_user.admin?
|
||||
end
|
||||
|
||||
def create_file
|
||||
|
|
Loading…
Reference in New Issue