Skip to content

feat(admin): improve user management page #1847

Open
gnugomez wants to merge 7 commits into
eclipse-openvsx:mainfrom
gnugomez:gnugomez/main/admin-users
Open

feat(admin): improve user management page #1847
gnugomez wants to merge 7 commits into
eclipse-openvsx:mainfrom
gnugomez:gnugomez/main/admin-users

Conversation

@gnugomez
Copy link
Copy Markdown
Member

Resolves #1786

Assisted-By: github:claude-opus-4.6, github:claude-sonnet-4.6, anthropic:claude-opus-4-7[1m]

gnugomez added 2 commits May 19, 2026 10:04
Assisted-By: anthropic:claude-opus-4-7[1m]
… update

Assisted-By: github:claude-opus-4.6, github:claude-sonnet-4.6, anthropic:claude-opus-4-7[1m]
@gnugomez gnugomez requested review from autumnfound and netomi and removed request for netomi May 19, 2026 10:14
}
var json = user.toUserJson();
var serverUrl = UrlUtil.getBaseUrl();
json.setRole(user.getRole());
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if the role is not part anymore of the User object, the frontend will not be able to check if the current user is an admin I guess?

Copy link
Copy Markdown
Member Author

@gnugomez gnugomez May 19, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

UserData::toUserJson is already setting the role, here we're just adding it twice

Comment thread server/src/main/java/org/eclipse/openvsx/json/UserAdminJson.java Outdated
@gnugomez gnugomez requested a review from autumnfound May 20, 2026 10:41
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.

Provide a user-management page in the admin dashboard

3 participants