Mercurial > public > src > rhodecode
diff pylons_app/controllers/admin/repos.py @ 432:f5c1eec9f376
rename repo2perm into repo_to_perm
added UserToPerm models for user global permissions
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Sun, 08 Aug 2010 01:27:14 +0200 |
parents | ca54622e39a1 |
children | e89aeac9a607 3ed2d46a2ca7 |
line wrap: on
line diff
--- a/pylons_app/controllers/admin/repos.py Sun Aug 08 01:26:23 2010 +0200 +++ b/pylons_app/controllers/admin/repos.py Sun Aug 08 01:27:14 2010 +0200 @@ -222,7 +222,7 @@ c.users_array = repo_model.get_users_js() - for p in c.repo_info.repo2perm: + for p in c.repo_info.repo_to_perm: defaults.update({'perm_%s' % p.user.username: p.permission.permission_name})