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

Yili - Gives the user permission to Reset and/or Change the password of any user #2860

Open
wants to merge 1 commit into
base: development
Choose a base branch
from

Conversation

suaniii
Copy link
Contributor

@suaniii suaniii commented Nov 12, 2024

Description

Gives the user permission to Reset and:or Change the password of any user but Owner:Admin classes

Related PRS

This frontend PR is related to the backend PR #1146

How to test:

  1. check into current branch
  2. do npm install and ... to run this PR locally
  3. Clear site data/cache
  4. log as owner user
  5. go to Other Links -> Permissions Management -> Manage User Permissions -> Choose a volunteer user -> add Reset / Change Password (Others) -> click on "save changes"
  6. verify that the user who was given the permission is now able to see the reset password button and reset another volunteer user's password.(make sure to reset your own account for testing)

Screenshots or videos of changes:

0.mov

1
2
3

Copy link

netlify bot commented Nov 12, 2024

Deploy Preview for highestgoodnetwork-dev ready!

Name Link
🔨 Latest commit 319eed6
🔍 Latest deploy log https://app.netlify.com/sites/highestgoodnetwork-dev/deploys/6733c152132bb80008bd6f3c
😎 Deploy Preview https://deploy-preview-2860--highestgoodnetwork-dev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
Contributor

@manikittu810 manikittu810 left a comment

Choose a reason for hiding this comment

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

Hello @suaniii
Everything is working as mentioned.
Thank you.
Screenshot 2024-11-14 at 6 28 01 PM
Screenshot 2024-11-14 at 6 29 33 PM

Copy link

@audreydieuanh audreydieuanh left a comment

Choose a reason for hiding this comment

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

My volunteer account was able to see the reset button after I changed the permission with my admin test account.

test17

Copy link

@anji-annavarapu anji-annavarapu left a comment

Choose a reason for hiding this comment

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

v1.mov

its working all expected.

@Hritvik111 Hritvik111 added the High Priority - Please Review First This is an important PR we'd like to get merged as soon as possible label Nov 23, 2024
Copy link

@srikanthpusthem srikanthpusthem left a comment

Choose a reason for hiding this comment

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

image image image working as expected

Copy link

@honglinchen0524 honglinchen0524 left a comment

Choose a reason for hiding this comment

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

Great work! I was able to give permission and see the reset password button. Video below:

PR2860.mp4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
High Priority - Please Review First This is an important PR we'd like to get merged as soon as possible
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants