-
Notifications
You must be signed in to change notification settings - Fork 118
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
1034 replace staffaccount #1039
Conversation
app/controllers/organizations/adopter_fosterer/adopter_applications_controller.rb
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good @mononoken just a couple comments!
39b3ec0
to
5063aa0
Compare
Thanks for the comments, y'all! I just worked through all the conflicts from the rebase and will get to your comments hopefully tomorrow. |
81c23a7
to
f9488c3
Compare
Think I got all the comments addressed and resolved new merge conflicts. Lmk if I missed anything. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @mononoken ! lgmt.
🔗 Issue
#1034
✍️ Description
This finishes up the Person refactorings from the conference, and it finishes the removal of the "accounts" objects. It changes all logic that was using StaffAccounts to use the authorization layer instead (which uses roles, permissions, and ActionPolicy).
I did a few refactorings to simplify logic while removing the account logic, but otherwise most behavior should be the same.
I did change:
This may cause some conflicts with other open PRs like @MooseCowBear's #997, so we may want to hold off merging this until the former PRs get merged.
📷 Screenshots/Demos
Embedded link for staff on adoptable pet page to get to the pet's staff page