Mercurial > kallithea
diff rhodecode/controllers/admin/repos.py @ 3245:8f3cc21d83e6 beta
fixes issue #739 Delete/Edit repositories should only point to admin links if the user is an super admin.
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Mon, 28 Jan 2013 21:14:46 +0100 |
parents | a9565b8b429b |
children | 6cdf2cd9d9d8 |
line wrap: on
line diff
--- a/rhodecode/controllers/admin/repos.py Mon Jan 28 20:52:57 2013 +0100 +++ b/rhodecode/controllers/admin/repos.py Mon Jan 28 21:14:46 2013 +0100 @@ -138,7 +138,8 @@ .all() repos_data = RepoModel().get_repos_as_dict(repos_list=c.repos_list, - admin=True) + admin=True, + super_user_actions=True) #json used to render the grid c.data = json.dumps(repos_data)