Add new permission level before "full" that can't use Matrix login. Fixes #199

This commit is contained in:
Tulir Asokan
2018-08-05 20:37:50 +03:00
parent 14b105e74f
commit 704e00540e
7 changed files with 31 additions and 19 deletions
+2 -1
View File
@@ -61,10 +61,11 @@ class AbstractUser(ABC):
ignore_incoming_bot_events = True # type: bool
def __init__(self):
self.is_admin = False # type: bool
self.matrix_puppet_whitelisted = False # type: bool
self.puppet_whitelisted = False # type: bool
self.whitelisted = False # type: bool
self.relaybot_whitelisted = False # type: bool
self.is_admin = False # type: bool
self.client = None # type: MautrixTelegramClient
self.tgid = None # type: int
self.mxid = None # type: str