Remove unneeded repo filter
This commit is contained in:
parent
e647d91e8b
commit
a46d367276
1 changed files with 1 additions and 5 deletions
|
@ -145,11 +145,7 @@ class RepositoryList(ApiResource):
|
|||
repo['is_starred'] = repo_obj.id in star_lookup
|
||||
return repo
|
||||
|
||||
response['repositories'] = [repo_view(repo) for repo in repo_query
|
||||
if (repo.visibility.name == 'public' or
|
||||
ReadRepositoryPermission(repo.namespace_user.username,
|
||||
repo.name).can())]
|
||||
|
||||
response['repositories'] = [repo_view(repo) for repo in repo_query]
|
||||
return response
|
||||
|
||||
|
||||
|
|
Reference in a new issue