Add a dropdown next to the entity search which shows all the user’s teams and robot accounts, and lets them create new ones on the fly
This commit is contained in:
parent
ecabcc3fc6
commit
9197a20a77
11 changed files with 223 additions and 53 deletions
|
@ -828,7 +828,8 @@ def get_repo_api(namespace, repository):
|
|||
'can_admin': can_admin,
|
||||
'is_public': is_public,
|
||||
'is_building': len(active_builds) > 0,
|
||||
'is_organization': bool(organization)
|
||||
'is_organization': bool(organization),
|
||||
'is_org_admin': bool(organization) and AdministerOrganizationPermission(namespace).can()
|
||||
})
|
||||
|
||||
abort(404) # Not found
|
||||
|
|
Reference in a new issue