[FIX]repository setting entry error

This commit is contained in:
2021-02-26 13:49:29 +08:00
parent 70922b81db
commit c299c9fa69

View File

@@ -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