diff options
-rwxr-xr-x | api.py | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -127,7 +127,9 @@ class AccessCheckerPlugin: logging.debug('AccessCheckerPlugin: checking if access is allowed') scopes = route['config']['scopes'] authz_needed = scopes is not None + logging.debug('authz_needed: %r', authz_needed) if authz_needed: + logging.debug('checking if access is allowed: %r', scopes) if self._checker.access_is_allowed(r.headers, scopes): logging.error('Request denied %s %s', r.method, r.path) return bottle.HTTPError(400) |