Open kalavt opened 2 months ago
The changes involve modifications to the PermissionController
class, updating the return type of the getCreateApplicationRoleUsers
method from a list of user IDs to a set of UserInfo
objects. Additionally, the HTML templates for user settings and system role management have been updated to display user names instead of IDs, enhancing user interface clarity and interaction specificity.
File | Change Summary |
---|---|
.../PermissionController.java |
Updated getCreateApplicationRoleUsers method to return Set<UserInfo> instead of List<String> . |
.../static/app/setting.html |
Changed button binding from user.userId to user.name for improved clarity. Added a newline before </html> . |
.../static/system-role-manage.html |
Updated ng-bind to use user.name and ng-click to use user.userId for better specificity. |
Hop along, the changes bright,
User names now take the light!
From IDs we’ve made the switch,
Clarity is quite the pitch.
In code and view, we dance and play,
A better path, hip-hip-hooray! 🐇✨
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
hello @nobodyiam @shoothzj may I request your review and approve for this PR?
This is a breaking change. @kalavt would you please help to describe the background of this change?
With LDAP and OAUTH login, user ID is a meaning less string which looks ugly on multiple place of UI, better to show user's name instead of ID.
@shoothzj @nobodyiam let me know if you considering we shall implement a another API for keep the backward capability.
This pull request has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in 14 days if no further activity occurs. Please feel free to give a status update now, ping for review, or re-open when it's ready. Thank you for your contributions!
What's the purpose of this PR
update all the place to show user name instead of ID
Brief changelog
update all the place to show user name instead of ID
Follow this checklist to help us incorporate your contribution quickly and easily:
mvn clean test
to make sure this pull request doesn't break anything.CHANGES
log.Summary by CodeRabbit
New Features
Bug Fixes