Changeset - f5b204789b46
[Not reviewed]
default
0 1 0
Marcin Kuzminski - 13 years ago 2013-04-15 02:11:06
marcin@python-works.com
added missing perms check on history call
1 file changed with 3 insertions and 0 deletions:
0 comments (0 inline, 0 general)
rhodecode/controllers/files.py
Show inline comments
 
@@ -182,6 +182,9 @@ class FilesController(BaseRepoController
 

	
 
        return render('files/files.html')
 

	
 
    @LoginRequired()
 
    @HasRepoPermissionAnyDecorator('repository.read', 'repository.write',
 
                                   'repository.admin')
 
    def history(self, repo_name, revision, f_path, annotate=False):
 
        if request.environ.get('HTTP_X_PARTIAL_XHR'):
 
            c.changeset = self.__get_cs_or_redirect(revision, repo_name)
0 comments (0 inline, 0 general)