Skip to content

Feat/login v2 - #86

Merged
lzq986 merged 2 commits into
mainfrom
feat/login-v2
Aug 7, 2026
Merged

Feat/login v2#86
lzq986 merged 2 commits into
mainfrom
feat/login-v2

Conversation

@lzq986

@lzq986 lzq986 commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

No description provided.

lzq986 added 2 commits August 7, 2026 19:27
Add an @adminonly annotation and enforce it in AuthInterceptor: when a handler (method overrides class) is annotated and the current user's role_id != 1, return 403. Carry role_id through UserContext, default the bootstrapped admin's role, and gate existing management controllers (datasource, domain, metric, report, semantic, mcp, table-*) with @adminonly. Add the env-driven auth config to application.properties.
Add SysUser CRUD (controller/service/mapper/DTOs) with create, update
(displayName only), admin password reset, and enable/disable. Username
uniqueness and external-idp password-reset guards live in the service
layer. Ship the user-management UI: sidebar entry, /sys-user route, and a
UserManage page with list/create/edit/reset-password/toggle-status.
@github-actions

github-actions Bot commented Aug 7, 2026

Copy link
Copy Markdown

Thank you for your contribution! We will review your request as soon as possible. Please review the code yourself using ponytail https://github.com/DietrichGebert/ponytail.

@lzq986
lzq986 merged commit e449d51 into main Aug 7, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant