mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-02 19:30:48 +08:00
禁止pr访问标识
This commit is contained in:
@@ -4,6 +4,7 @@ json.issue_versions @project_versions
|
||||
json.issue_priories @project_priories
|
||||
json.project_author @project.owner.try(:show_real_name)
|
||||
json.project_name @project.try(:name)
|
||||
json.disable_pr_vew @project.pr_view_admin? && !@project.manager?(current_user)
|
||||
json.members do
|
||||
json.array! @project_members.to_a.each do |user|
|
||||
json.id user.id
|
||||
|
||||
Reference in New Issue
Block a user