[Console] Simplify RBAC to fixed Admin and Editor user types - #4511
Open
shangeyao wants to merge 1 commit into
Open
[Console] Simplify RBAC to fixed Admin and Editor user types#4511shangeyao wants to merge 1 commit into
shangeyao wants to merge 1 commit into
Conversation
Replace configurable role/member/team management with two built-in user types, Shiro permission sets, and a 3.0.0 schema upgrade. Remove the legacy @Permission aspect and obsolete RBAC UI/API/E2E coverage. Co-authored-by: Cursor <cursoragent@cursor.com>
shangeyao
force-pushed
the
feature/simplify-rbac
branch
from
September 4, 2026 05:42
e47e404 to
f2f5dbb
Compare
|
shangeyao
marked this pull request as ready for review
September 4, 2026 06:33
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Summary
*) and Editor (fixed permission set inUserTypeEnum).@Permission/PermissionAspectand rely on Shiro@RequiresPermissions, with small service-level checks where needed (e.g. self-service password change, admin-only menus).3.0.0upgrade scripts for migration.Closes #4510
Test plan
3.0.0.sqlon 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 + buildMade with Cursor