Mercurial > kallithea
changeset 6272:226e0154da46
auth: when logging HasPermissionAny, make it clear that the scope is global, not unknown
author | Mads Kiilerich <madski@unity3d.com> |
---|---|
date | Mon, 24 Oct 2016 15:18:51 +0200 |
parents | 5e5496d63785 |
children | ecd0d34bc20c |
files | kallithea/lib/auth.py |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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=''):