mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-10 23:09:51 +08:00
5 lines
208 B
Ruby
5 lines
208 B
Ruby
json.total_count @teams.total_count
|
|
json.teams @teams.each do |team|
|
|
json.(team, :id, :name, :authorize)
|
|
json.can_remove !team.includes_all_project && team&.organization&.repo_admin_change_team_access
|
|
end |