add superuser class to obscure superuser_id for admin in the ui

This commit is contained in:
dni ⚡
2022-12-07 11:00:48 +01:00
parent 02e82a8fdf
commit c189ec49e5
5 changed files with 29 additions and 11 deletions
+1
View File
@@ -63,6 +63,7 @@ class User(BaseModel):
wallets: List[Wallet] = []
password: Optional[str] = None
admin: bool = False
super_user: bool = False
@property
def wallet_ids(self) -> List[str]: