##// END OF EJS Templates
added missing perms check on history call
marcink -
r3755:f5b20478 default
parent child Browse files
Show More
@@ -182,6 +182,9 class FilesController(BaseRepoController
182 182
183 183 return render('files/files.html')
184 184
185 @LoginRequired()
186 @HasRepoPermissionAnyDecorator('repository.read', 'repository.write',
187 'repository.admin')
185 188 def history(self, repo_name, revision, f_path, annotate=False):
186 189 if request.environ.get('HTTP_X_PARTIAL_XHR'):
187 190 c.changeset = self.__get_cs_or_redirect(revision, repo_name)
General Comments 0
You need to be logged in to leave comments. Login now