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

Addresses Issue #1465 : Added possibility to manage accounts in the UI. #1468

Merged
merged 9 commits into from
Jan 18, 2024

Conversation

suratdas
Copy link
Contributor

It is now possible to change password, create user, delete user all from UI. The logged in user can see the username in the UI. The log out part is still not in this pull request. That will take some time and will come in a future PR. Below are the screenshots.

LoggedInView
NotLoggedIn
Non-Admin-Account
Admin-Account

@fhoeben
Copy link
Collaborator

fhoeben commented Jan 5, 2024

@suratdas I haven't gotten round to looking at the code yet. But just based on the screenshots I would like to suggest you change 'Manage My Account' to 'Change Password'.
Instead of 'Manage Other Users' I would suggest 'Create / Delete Users'

Would it be possible to remove the 'Manage Other Users' option completely unless the user is logged in as admin?

@suratdas
Copy link
Contributor Author

suratdas commented Jan 6, 2024

@fhoeben Thanks for the feedback. I have committed all the changes you requested.

test/fitnesse/authentication/PasswordTest.java Outdated Show resolved Hide resolved
src/fitnesse/ContextConfigurator.java Outdated Show resolved Hide resolved
src/fitnesse/responders/account/SaveAccountResponder.java Outdated Show resolved Hide resolved
@suratdas
Copy link
Contributor Author

Thanks for the review comments. I have updated based on your feedback. The new UI looks like this now.

Screenshot from 2024-01-13 12-15-13

Copy link
Collaborator

@fhoeben fhoeben left a comment

Choose a reason for hiding this comment

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

A bit more extensive documentation and adding the new feature to the release notes page and I think we are done

suratdas and others added 6 commits January 14, 2024 10:58
…File/content.txt

Co-authored-by: Fried Hoeben <github@hsac.nl>
…File/content.txt

Co-authored-by: Fried Hoeben <github@hsac.nl>
…File/content.txt

Co-authored-by: Fried Hoeben <github@hsac.nl>
…File/content.txt

Co-authored-by: Fried Hoeben <github@hsac.nl>
@fhoeben fhoeben merged commit 91b8632 into unclebob:master Jan 18, 2024
1 check passed
@suratdas suratdas deleted the manage_accounts branch January 18, 2024 07:04
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.

2 participants