nopaque/app/models/anonymous_user.py
2024-05-27 09:23:08 +02:00

11 lines
207 B
Python

from flask_login import AnonymousUserMixin
class AnonymousUser(AnonymousUserMixin):
def can(self, permissions):
return False
@property
def is_administrator(self):
return False