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