Changeset - 0959096b2c02
[Not reviewed]
beta
0 1 0
Marcin Kuzminski - 13 years ago 2012-09-12 12:54:46
marcin@python-works.com
Wraps group listing with permissions check so they don't get displayed
1 file changed with 2 insertions and 2 deletions:
0 comments (0 inline, 0 general)
rhodecode/controllers/admin/repos_groups.py
Show inline comments
 
@@ -292,9 +292,9 @@ class ReposGroupsController(BaseControll
 

	
 
        c.repo_cnt = 0
 

	
 
        c.groups = RepoGroup.query().order_by(RepoGroup.group_name)\
 
        groups = RepoGroup.query().order_by(RepoGroup.group_name)\
 
            .filter(RepoGroup.group_parent_id == id).all()
 

	
 
        c.groups = self.scm_model.get_repos_groups(groups)
 
        return render('admin/repos_groups/repos_groups.html')
 

	
 
    @HasPermissionAnyDecorator('hg.admin')
0 comments (0 inline, 0 general)