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

PROD-1782: Allows approver to view user management table so they can reset their own password #5178

Merged
merged 2 commits into from
Aug 12, 2024

Conversation

eastandwestwind
Copy link
Contributor

Closes https://ethyca.atlassian.net/browse/PROD-1782

Description Of Changes

Adds a scope to the approver role so that they can view the user management section of the Admin-UI. We already have appropriate checks in place so that the approver cannot delete other users or change other users' info.

Code Changes

  • Update scope for approvers

Steps to Confirm

  • Create an approver user
  • Confirm they can change their own password
  • Confirm they cannot make any changes to other users' info

Pre-Merge Checklist

  • All CI Pipelines Succeeded
  • Documentation:
    • documentation complete, PR opened in fidesdocs
    • documentation issue created in fidesdocs
    • if there are any new client scopes created as part of the pull request, remember to update public-facing documentation that references our scope registry
  • Issue Requirements are Met
  • Relevant Follow-Up Issues Created
  • Update CHANGELOG.md
  • For API changes, the Postman collection has been updated
  • If there are any database migrations:
    • Ensure that your downrev is up to date with the latest revision on main
    • Ensure that your downgrade() migration is correct and works
      • If a downgrade migration is not possible for this change, please call this out in the PR description!

Copy link

vercel bot commented Aug 12, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
fides-plus-nightly ⬜️ Ignored (Inspect) Visit Preview Aug 12, 2024 3:56pm

@eastandwestwind eastandwestwind changed the title Allows approver to view user management table so they can reset their own password PROD-1782: Allows approver to view user management table so they can reset their own password Aug 12, 2024
Copy link

cypress bot commented Aug 12, 2024



Test summary

4 0 0 0


Run details

Project fides
Status Passed
Commit 74136626df ℹ️
Started Aug 12, 2024 4:07 PM
Ended Aug 12, 2024 4:08 PM
Duration 00:35 💡
OS Linux Ubuntu -
Browser Electron 106

View run in Cypress Cloud ➡️


This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. You can manage this integration in this project's settings in the Cypress Cloud

@lucanovera lucanovera self-requested a review August 12, 2024 16:22
Copy link

codecov bot commented Aug 12, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 86.48%. Comparing base (57be06e) to head (9cfd4ef).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #5178   +/-   ##
=======================================
  Coverage   86.48%   86.48%           
=======================================
  Files         360      360           
  Lines       22521    22521           
  Branches     2981     2981           
=======================================
  Hits        19477    19477           
  Misses       2511     2511           
  Partials      533      533           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@lucanovera lucanovera left a comment

Choose a reason for hiding this comment

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

Perfect. That really small changed fixed the issue. I've confirmed that the user now has access to the user's list but can only make changes to it's own account. Approved!
Captura de pantalla 2024-08-12 a la(s) 1 31 11 p  m

@eastandwestwind eastandwestwind merged commit cd400eb into main Aug 12, 2024
45 checks passed
@eastandwestwind eastandwestwind deleted the PROD-1782 branch August 12, 2024 16:46
Copy link

cypress bot commented Aug 12, 2024



Test summary

4 0 0 0


Run details

Project fides
Status Passed
Commit cd400eb
Started Aug 12, 2024 4:58 PM
Ended Aug 12, 2024 4:59 PM
Duration 00:38 💡
OS Linux Ubuntu -
Browser Electron 106

View run in Cypress Cloud ➡️


This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. You can manage this integration in this project's settings in the Cypress Cloud

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