[ADD]org team search, project teams add\remove, org can create field

[FIX]
This commit is contained in:
2021-02-04 17:03:56 +08:00
parent 4f6f257b37
commit 54204d4db8
12 changed files with 150 additions and 80 deletions

View File

@@ -1,4 +1,5 @@
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