feat: bootstrap user rbac foundation

This commit is contained in:
wren
2026-04-29 15:23:19 +08:00
parent b45d61fa97
commit b3ad4a6f33
16 changed files with 4498 additions and 104 deletions
@@ -20,3 +20,8 @@ class IAuthService(ABC):
IsLeader: bool | None, Area: str | None, ExpiresIn: int) -> LoginTokenVO:
"""OAuth 登录。"""
...
@abstractmethod
async def GetCurrentUser(self, UserId: int) -> dict:
"""获取当前登录用户信息。"""
...