##// END OF EJS Templates
Wraps group listing with permissions check so they don't get displayed
marcink -
r2831:0959096b beta
parent child Browse files
Show More
@@ -292,9 +292,9 b' class ReposGroupsController(BaseControll'
292
292
293 c.repo_cnt = 0
293 c.repo_cnt = 0
294
294
295 c.groups = RepoGroup.query().order_by(RepoGroup.group_name)\
295 groups = RepoGroup.query().order_by(RepoGroup.group_name)\
296 .filter(RepoGroup.group_parent_id == id).all()
296 .filter(RepoGroup.group_parent_id == id).all()
297
297 c.groups = self.scm_model.get_repos_groups(groups)
298 return render('admin/repos_groups/repos_groups.html')
298 return render('admin/repos_groups/repos_groups.html')
299
299
300 @HasPermissionAnyDecorator('hg.admin')
300 @HasPermissionAnyDecorator('hg.admin')
General Comments 0
You need to be logged in to leave comments. Login now