pm issue and journal

This commit is contained in:
呱呱呱
2023-11-01 16:49:00 +08:00
parent 36a659678d
commit 5c72feb705
11 changed files with 215 additions and 58 deletions

View File

@@ -57,7 +57,7 @@ class Api::V1::BaseController < ApplicationController
# 具有对仓库的访问权限
def require_public_and_member_above
@project = load_project
@project = load_project
return render_forbidden if !@project.is_public && !current_user.admin? && !@project.member?(current_user)
end
end