@ -51,7 +51,7 @@ DEVELOPMENT = False
class UserBase:
@classmethod
@property
def is_authenticated(self):
return True
@ -97,11 +97,11 @@ class UserBase:
def role_delete_books(self):
return bool((self.role is not None)and(self.role & ROLE_DELETE_BOOKS == ROLE_DELETE_BOOKS))
def is_active(self):
def is_anonymous(self):
return False