Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(ui): prevent SSO users from updating their name & password #3735

Merged
merged 5 commits into from
Jan 20, 2025

Conversation

liangfung
Copy link
Collaborator

@liangfung liangfung commented Jan 20, 2025

@liangfung liangfung marked this pull request as ready for review January 20, 2025 10:06
@zwpaper zwpaper requested a review from wsxiaoys January 20, 2025 16:38
@zwpaper zwpaper merged commit b270b87 into main Jan 20, 2025
4 checks passed
@zwpaper zwpaper deleted the feat-ui-sso-user branch January 20, 2025 17:36
zwpaper pushed a commit that referenced this pull request Jan 20, 2025
* feat(ui): prevent SSO users from updating their name & password

* update

* update

* update

* update
/>
</TooltipTrigger>
<TooltipContent hidden={!isSsoUser} align="end" side="top">
Name cannot be changed for SSO users
Copy link
Member

@wsxiaoys wsxiaoys Jan 20, 2025

Choose a reason for hiding this comment

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

The name cannot be altered for users created through SSO

align="center"
hidden={!user.node.isSsoUser}
>
<p>Cannot request password reset for SSO users</p>
Copy link
Member

Choose a reason for hiding this comment

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

The password reset feature cannot be used for users created through SSO

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants