##// END OF EJS Templates
acl: added some nicer logging for file path ACL checks.
marcink -
r4285:9cf3ac15 default
parent child Browse files
Show More
@@ -396,7 +396,11 b' class PathFilter(object):'
396 def path_access_allowed(self, path):
396 def path_access_allowed(self, path):
397 log.debug('Checking ACL permissions for PathFilter for `%s`', path)
397 log.debug('Checking ACL permissions for PathFilter for `%s`', path)
398 if self.permission_checker:
398 if self.permission_checker:
399 return path and self.permission_checker.has_access(path)
399 has_access = path and self.permission_checker.has_access(path)
400 log.debug('ACL Permissions checker enabled, ACL Check has_access: %s', has_access)
401 return has_access
402
403 log.debug('ACL permissions checker not enabled, skipping...')
400 return True
404 return True
401
405
402 def filter_patchset(self, patchset):
406 def filter_patchset(self, patchset):
General Comments 0
You need to be logged in to leave comments. Login now