feat: add business line permissions and Wayne namespace mapping

This commit is contained in:
mac
2026-07-17 15:02:18 +08:00
parent e1d755b2df
commit d264924d1e
23 changed files with 1343 additions and 81 deletions
+2
View File
@@ -12,6 +12,7 @@ export interface UserInfo {
display_name: string
email: string
business_line: string
is_admin: boolean
}
export interface LoginResponse {
@@ -113,6 +114,7 @@ export const authApi = {
display_name: data.display_name || data.username,
email: data.email || '',
business_line: data.business_line || '',
is_admin: data.is_admin === true,
},
}
},