human-essentials
human-essentials copied to clipboard
Restrict partner-user-management to bank org admins
Summary
We only link to the PartnerUser management page for bank admins, but in app/controllers/partner_users_controller.rb we don't re-assert that restriction. Add a bank-org admin check to this controller.
Things to consider
No response
Criteria for Completion
- [ ] When logged in as a bank non-admin user, you should get a permission denied error when navigating to /partners/ID/users
Status: There is an open PR that needs some work on fixing tests to push it over the line.
I'll try to wrap this up.