FIX repo setting api for forbidden

This commit is contained in:
jasder 2021-02-09 11:48:05 +08:00
parent 8e4d6c7064
commit 9f4c2bd673
1 changed files with 1 additions and 0 deletions

View File

@ -88,6 +88,7 @@ class RepositoriesController < ApplicationController
end
def edit
return render_forbidden if !@project.manager?(current_user)
end
def create_file