Support for policy upload/download

Plus a small bugfix for groups
This commit is contained in:
2024-12-17 12:10:40 +01:00
parent 7fa17adfb1
commit 31910dc034
10 changed files with 646 additions and 508 deletions

View File

@ -74,7 +74,7 @@ class OIDCAuthentication(_OIDCAuth):
@property
def groups(self) -> list:
userinfo = flask_session['userinfo']
return userinfo.get('groups')
return userinfo.get('groups') or []
@property
def isAdmin(self) -> bool: