refactor(auth): remove bot owner linkage and enforce bot-level permissions

This commit is contained in:
2026-04-03 13:21:03 +00:00
parent 6998936858
commit aeb4f10fd0
12 changed files with 104 additions and 43 deletions
+1 -1
View File
@@ -57,8 +57,8 @@ def _to_auth_token_response(token: AuthToken) -> AuthTokenResponse:
def _to_bot_principal_response(bot: BotPrincipal) -> BotPrincipalResponse:
return BotPrincipalResponse(
id=bot.id,
owner_user_id=bot.owner_user_id,
name=bot.name,
permission=bot.permission,
description=bot.description,
is_active=bot.is_active,
created_at=bot.created_at,