get access permissions without signing in

This commit is contained in:
Laura Klünder 2023-12-24 15:40:48 +01:00
parent fef1fb2c06
commit d5ec23a7fb
5 changed files with 148 additions and 71 deletions

View file

@ -17,7 +17,7 @@ def get_user_data(request):
}
if permissions:
result.update({
'title': _('not logged in'),
'title': _('Login'),
'subtitle': ngettext_lazy('%d area unlocked', '%d areas unlocked', len(permissions)) % len(permissions),
'permissions': tuple(permissions),
})