# HG changeset patch # User Mads Kiilerich # Date 1477315131 -7200 # Node ID 226e0154da46d2ebdee62973121200c71767c099 # Parent 5e5496d63785af992205165dabfade78da6cf904 auth: when logging HasPermissionAny, make it clear that the scope is global, not unknown diff -r 5e5496d63785 -r 226e0154da46 kallithea/lib/auth.py --- a/kallithea/lib/auth.py Mon Oct 24 15:18:51 2016 +0200 +++ b/kallithea/lib/auth.py Mon Oct 24 15:18:51 2016 +0200 @@ -972,6 +972,9 @@ return True return False + def _scope(self): + return 'global' + class HasRepoPermissionAny(PermsFunction): def __call__(self, repo_name=None, check_location=''):