mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-03 03:40:49 +08:00
FIX repo setting api for forbidden
This commit is contained in:
@@ -88,6 +88,7 @@ class RepositoriesController < ApplicationController
|
||||
end
|
||||
|
||||
def edit
|
||||
return render_forbidden if !@project.manager?(current_user)
|
||||
end
|
||||
|
||||
def create_file
|
||||
|
||||
Reference in New Issue
Block a user