shangeyao opened a new pull request, #4511: URL: https://github.com/apache/streampark/pull/4511
## Summary - Replace configurable role/member/team RBAC with two built-in user types: **Admin** (`*`) and **Editor** (fixed permission set in `UserTypeEnum`). - Remove legacy `@Permission` / `PermissionAspect` and rely on Shiro `@RequiresPermissions`, with small service-level checks where needed (e.g. self-service password change, admin-only menus). - Drop role/member/team backend APIs, database tables, frontend pages, and obsolete E2E cases; add MySQL/PostgreSQL `3.0.0` upgrade scripts for migration. Closes #4510 ## Test plan - [ ] Fresh install: admin login, verify menus and job operations - [ ] Create an Editor user and verify limited access (no system/settings/cluster admin actions) - [ ] Editor can change own password; cannot manage other users - [ ] Upgrade from 2.x schema using `3.0.0.sql` on MySQL and PostgreSQL - [ ] `./mvnw -pl streampark-console/streampark-console-service test -Dtest=UserServiceTest,UserControllerMvcTest,UserAssemblerTest` - [ ] `./mvnw -pl streampark-console/streampark-console-webapp exec` / frontend lint + build - [ ] CI E2E basic suite (UserManagementTest and remaining matrix jobs) Made with [Cursor](https://cursor.com) -- 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]
