mirror of
https://github.com/rzmk/learnhouse.git
synced 2025-12-19 04:19:25 +00:00
feat: init roles + authorship detection
This commit is contained in:
parent
38288e8a57
commit
0595bfdb3f
16 changed files with 109 additions and 236 deletions
|
|
@ -36,7 +36,7 @@ class UserRead(UserBase):
|
|||
class PublicUser(UserRead):
|
||||
pass
|
||||
|
||||
class AnonymousUser(UserRead):
|
||||
class AnonymousUser(SQLModel):
|
||||
id: str = "anonymous"
|
||||
username: str = "anonymous"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue