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

Fix auth scope on view monitoring station route #1413

Merged
merged 3 commits into from
Oct 16, 2024

Conversation

Cruikshanks
Copy link
Member

https://eaflood.atlassian.net/browse/WATER-4679

We are working through the legacy pages and migrating them to this new repo. We've been working on migrating the view monitoring station page; another issue was found during the latest round of QA.

When we added the new route, we set the auth scope to billing. Clearly a copy and paste error, because when the legacy code is reviewed it has no scope.

Like viewing a licence, all users should be able to view a monitoring station. Once in the page their role will determine whether they can do anything else with it.

This change removes the scope to fix the issue.

https://eaflood.atlassian.net/browse/WATER-4679

We are working through the legacy pages and migrating them to this new repo. We've been working on migrating the view monitoring station page; another issue was found during the latest round of QA.

When we added the new route, we set the auth scope to `billing`. Clearly a copy and paste error, because when the legacy code is reviewed it has no scope.

Like viewing a licence, all users should be able to view a monitoring station. Once in the page their role will determine whether they can do anything else with it.

This change removes the scope to fix the issue.
@Cruikshanks Cruikshanks added the bug Something isn't working label Oct 16, 2024
@Cruikshanks Cruikshanks self-assigned this Oct 16, 2024
@Cruikshanks Cruikshanks marked this pull request as ready for review October 16, 2024 13:53
@Cruikshanks Cruikshanks requested a review from rvsiyad October 16, 2024 13:53
@Cruikshanks Cruikshanks merged commit 0b6d9a1 into main Oct 16, 2024
6 checks passed
@Cruikshanks Cruikshanks deleted the fix-scope-on-view-monitoring-station-page branch October 16, 2024 15:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants