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

Restricting employee changes #233

Merged
merged 9 commits into from
Feb 5, 2024

Conversation

connor-bechthold
Copy link
Collaborator

Notion task link

N/A

Implementation description

  • Added restrictions and flows to when the current signed in user wants to modify themselves
  • If they want to edit their role, they will be automatically logged out after
  • If they want to deactivate themselves, they will also be logged out after
  • Also simplified some duplicate resident ID logic on the side with the new schema restrictions on the residents table

Steps to test

What should reviewers focus on?

Checklist

  • My PR name is descriptive and in imperative tense
  • My commit messages are descriptive and in imperative tense. My commits are atomic and trivial commits are squashed or fixup'd into non-trivial commits
  • I have run the appropriate linter(s)
  • I have requested a review from the PL, as well as other devs who have background knowledge on this PR or who will be building on top of this PR
  • If I have made API changes, I have updated the REST API Docs
  • IF I have made changes to the db/models, I have updated the Data Models Page
  • I have documented this PR in the Production Release Page
  • I have updated other Docs as needed

Copy link

github-actions bot commented Feb 5, 2024

Visit the preview URL for this PR (updated for commit 05b9800):

https://blueprintsupportivehousing--pr233-connor-restricting-e-mi7l0ymb.web.app

(expires Mon, 12 Feb 2024 07:52:12 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: f6bcdba7452bf82a6ec1a299c37d1bdff7870d09

@connor-bechthold connor-bechthold merged commit 9d4249f into main Feb 5, 2024
3 checks passed
@connor-bechthold connor-bechthold deleted the connor/restricting-employee-changes branch February 5, 2024 07:52
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.

1 participant