dosubot[bot] commented on issue #39907: URL: https://github.com/apache/superset/issues/39907#issuecomment-4387052478
<!-- Greeting --> Hi @aavanzyl! I'm [Dosu](https://go.dosu.dev/dosubot) and Iām helping the superset team. <!-- Answer --> This is a known issue. The role edit form's user dropdown explicitly maps `user.username` as the display label [[1]](https://github.com/apache/superset/blob/829e4d92d91ceae4b43b1ed3b063ffe45377799c/superset-frontend/src/features/groups/utils.ts#L64-L67), which for Google OAuth users is typically the provider's GUID rather than a human-readable name. There's a merged PR that aimed to address this ā [PR #35017: "fix(RoleListEditModal): display user's other properties in table"](https://github.com/apache/superset/pull/35017) ā which adds `first_name`, `last_name`, and `email` to the role edit modal. However, the `fetchUserOptions` utility still uses `label: user.username` for the dropdown options, so the select/search field itself may still show the OAuth ID. A potential fix would be to change the label mapping in `superset-frontend/src/features/groups/utils.ts` from: ```js label: user.username, ``` to something like: ```js label: user.first_name && user.last_name ? `${user.first_name} ${user.last_name}` : user.username, ``` There's also an [open PR #34356](https://github.com/apache/superset/pull/34356) that proposes displaying usernames in parentheses alongside names in user dropdowns, which would further improve identification. <!-- Dosu Comment Footer --> *To reply, just mention [@dosu](https://go.dosu.dev/dosubot?utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=reply-with-mention&utm_term=apache%2Fsuperset).* --- Docs are dead. Just use [Dosu](https://dosu.dev?utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=static-docs-tagline&utm_term=apache%2Fsuperset). [](https://app.dosu.dev/response-feedback?utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=static-docs-feedback&utm_term=apache%2Fsuperset&message_id=1c027e9a-de34-43cc-bace-8bc0bc5f841f) [](https://github.dosu.com/apache/superset?utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=static-docs-ask-repo&utm_term=apache%2Fsuperset) [](https://app.dosu.dev/signup?referrer=openSource&source=github-footer&utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=static-docs-share-team&utm_term=apache%2Fsuperset) -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
