forked from Gitlink/forgeplus
FIX repo setting api for forbidden
This commit is contained in:
parent
8e4d6c7064
commit
9f4c2bd673
|
@ -88,6 +88,7 @@ class RepositoriesController < ApplicationController
|
||||||
end
|
end
|
||||||
|
|
||||||
def edit
|
def edit
|
||||||
|
return render_forbidden if !@project.manager?(current_user)
|
||||||
end
|
end
|
||||||
|
|
||||||
def create_file
|
def create_file
|
||||||
|
|
Loading…
Reference in New Issue