rwadurian/frontend/admin-web/src
hailin 35a812c058 feat(authorization): add admin authorization management API and real data integration
Backend (authorization-service):
- Add QueryAuthorizationsDto for query parameters (roleType, keyword, includeRevoked, page, limit)
- Add queryAuthorizations method to fetch all authorizations with user info
- Add GET /admin/authorizations endpoint for listing authorizations
- Add POST /admin/authorizations/:id/revoke endpoint for revoking authorization

Frontend (admin-web):
- Add authorization.types.ts with RoleType, Authorization, and request types
- Add authorizationService.ts for API calls (list, revoke, grant operations)
- Add useAuthorizations.ts React Query hooks
- Update authorization page to use real API data instead of mock data
- Add loading/error states, pagination, and revoke reason display
- Add new styles for loading, error, pagination, and date columns

The authorization management page now displays all authorized users
from the database with support for filtering by role type, status,
and keyword search.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-03 18:50:10 -08:00
..
app feat(authorization): add admin authorization management API and real data integration 2026-01-03 18:50:10 -08:00
components refactor(admin-web): 简化授权管理页面,独立共管钱包功能 2026-01-03 18:09:19 -08:00
hooks feat(authorization): add admin authorization management API and real data integration 2026-01-03 18:50:10 -08:00
infrastructure feat(authorization): add admin authorization management API and real data integration 2026-01-03 18:50:10 -08:00
lib feat(admin-web): 添加 TSS WASM 集成,实现与 Service-Party-App 功能对等 2025-12-29 01:39:43 -08:00
services feat(authorization): add admin authorization management API and real data integration 2026-01-03 18:50:10 -08:00
store fix(admin-web): 修复 authSlice 的 REHYDRATE 类型错误 2025-12-20 00:35:03 -08:00
styles fix(scss): 添加缺失的语义化颜色变量别名 2025-12-18 02:31:14 -08:00
types feat(authorization): add admin authorization management API and real data integration 2026-01-03 18:50:10 -08:00
utils feat(frontend): 前端时间显示统一转换为本地时间 2025-12-23 19:45:51 -08:00