Skip to content

Conversation

@jinapurapu
Copy link
Contributor

@jinapurapu jinapurapu commented Jun 10, 2021

fixes https://github.com/miniohq/engineering/issues/158

What does this do?
Moved Change User Password feature to UserDetails page, located in an iconbutton accessed menu along with DeleteUser

How does it look?
Screenshot from 2021-06-10 14-10-37
Screenshot from 2021-06-10 14-10-52
Screenshot from 2021-06-10 14-11-08
Screenshot from 2021-06-10 14-11-27

Created Icon button on UserDetails.tsx with drop down menu for Change User Password and Delete User prompts, removed pencil icon from  ListUsers.tsx
Copy link
Collaborator

@bexsoft bexsoft left a comment

Choose a reason for hiding this comment

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

Beside of that, LGTM

return;
}

if (newPassword.length < 8) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

What is the difference between this component and ChangeUserPasswordModal?

Copy link
Collaborator

Choose a reason for hiding this comment

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

ChangePasswordModal is for the current user, which asks for current password and the other one is to change some other user's password

Copy link
Collaborator

@bexsoft bexsoft Jun 11, 2021

Choose a reason for hiding this comment

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

Ok, I think it would be better to merge these two components into a single one, and just use a flag to show / hide fields, We can do this in a new PR

@bexsoft bexsoft merged commit 11d0080 into minio:master Jun 11, 2021
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.

3 participants