18F / identity-dashboard

Identity developer dashboard
22 stars 11 forks source link

Dmm/fix some policy code #770

Closed Sgtpluck closed 5 months ago

Sgtpluck commented 5 months ago

Relevant Ticket or Conversation:

As part of putting together a design strategy for implementing role-based access on the Partner Dashboard, I found a number of ways that the Pundit Policy code could be refactored. Putting that together before starting the bigger process seemed nice! There's definitely more cleanup that could be done, but I wanted to do this while I was thinking about it!

Description of Changes:

This change:

PR Checklist:

  1. [ ] Have you linted and tested your code locally prior to submission?
  2. [ ] Have you tagged the appropriate dev(s) for review?
  3. [ ] Have you linked to any relevant tickets or conversations?

PR Review Standards: