coder999o opened a new pull request, #4060: URL: https://github.com/apache/rocketmq-dashboard/pull/4060
## What is the purpose of the change This change adds session visibility and session revocation to Studio user management. Administrators can see the global active session overview, inspect per-user active session counts and last/nearest session timestamps, and revoke a user's active sessions without disabling the account or changing credentials. ## Brief changelog - Add active Studio session summary fields to the user list response. - Add a Studio session overview API and per-user active-session revoke API. - Show session overview and per-user session metadata in the User Management page. - Add a guarded revoke-session action and keep Studio user/session APIs admin-only. - Add backend and frontend tests for session summaries, overview, revoke flow, and authorization. ## Verifying this change - `npm run test -- src/api/studioUsers.test.ts src/pages/studio/__tests__/UserManagement.test.tsx` - `npx eslint src/api/studioUsers.ts src/api/studioUsers.test.ts src/pages/studio/UserManagement.tsx src/pages/studio/__tests__/UserManagement.test.tsx` - `npm run build` - `mvn -q -Dtest=AuthServiceDatabaseTest,StudioUserControllerTest,AuthInterceptorTest test` - `mvn -q -DskipTests compile` - `mvn -q -DskipTests checkstyle:check` - `git diff --check` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
