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

Verify military access in military information controller. #5086

Closed
kpethtel opened this issue Mar 13, 2023 · 1 comment
Closed

Verify military access in military information controller. #5086

kpethtel opened this issue Mar 13, 2023 · 1 comment
Assignees

Comments

@kpethtel
Copy link
Contributor

kpethtel commented Mar 13, 2023

This error recently started popping up in sentry:
http://sentry.vfs.va.gov/organizations/vsp/issues/163868/?environment=production&project=3&query=is%3Aunresolved+mobile&statsPeriod=14d

Conversation with va profile team here: https://dsva.slack.com/archives/C7TE0PFTL/p1678720475231219

Expected outcome:

The military information controller should confirm that the user can use the vet360 service. Add this line to the controller:

authorize :vet360, :military_access?

Also write specs for this case. We should expect a 403 response when the user does not have access.

@Tonksthebear
Copy link
Contributor

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

No branches or pull requests

3 participants