my-account: speed up fetching permissions in my account repos grid.
marcink -
r4144:6a12088f default
Not Reviewed
Show More
Add another comment
TODOs: 0 unresolved 0 Resolved
COMMENTS: 0 General 0 Inline
@@ -357,7 +357,8
357 repo_list = Repository.get_all_repos(
357 repo_list = Repository.get_all_repos(
358 user_id=self._rhodecode_user.user_id)
358 user_id=self._rhodecode_user.user_id)
359 repo_list = RepoList(repo_list, perm_set=[
359 repo_list = RepoList(repo_list, perm_set=[
360 'repository.read', 'repository.write', 'repository.admin'])
360 'repository.read', 'repository.write', 'repository.admin'],
361 extra_kwargs=dict(user=self._rhodecode_user))
361
362
362 repos_data = RepoModel().get_repos_as_dict(
363 repos_data = RepoModel().get_repos_as_dict(
363 repo_list=repo_list, admin=admin, short_name=False)
364 repo_list=repo_list, admin=admin, short_name=False)
Comments 0
You need to be logged in to leave comments. Login now