Skip to content

Don't allow letter sends when 2 pieces of fair evidence are required#10878

Closed
jmhooper wants to merge 1 commit intomainfrom
jmhooper-disallow-gpo-during-biometric-proofing
Closed

Don't allow letter sends when 2 pieces of fair evidence are required#10878
jmhooper wants to merge 1 commit intomainfrom
jmhooper-disallow-gpo-during-biometric-proofing

Conversation

@jmhooper
Copy link
Contributor

We have a lot of pending changes out there to make this possible. This commit adds them all together so we can get started on feature tests while we work through getting those merged.

Copy link
Contributor

Choose a reason for hiding this comment

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

Seems like this is constructed in many separate controllers. Would it make sense to have one policy on a mixin shared by all these controllers? Or just on ApplicationController?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah, when I was putting this together I was thinking that a mixin may make this a little cleaner.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I would imagine we could introduce the policy and delegate send_letter_available? and resend_letter_available? and then call those directly in the controllers.

@jmhooper jmhooper force-pushed the jmhooper-disallow-gpo-during-biometric-proofing branch from 563ef23 to 495fbe2 Compare June 27, 2024 17:19
@jmhooper jmhooper closed this Jun 28, 2024
@jmhooper
Copy link
Contributor Author

I closed this and moved the changes over to #10886 which is where I plan to build out something mergeable

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants