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

Stop adding link on due returns for unauth users #1378

Merged
merged 7 commits into from
Oct 3, 2024

Conversation

Cruikshanks
Copy link
Member

@Cruikshanks Cruikshanks commented Oct 3, 2024

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

We have built a replacement view licence page, which includes displaying return logs to all users.

All users should be able to see return logs. However, when we reviewed the legacy code, we overlooked that only permitted users should see a link on 'due/overdue' returns that allows them to edit them.

The issue was reported on behalf of users with basic access. When they clicked the link, they saw an error. We checked what the legacy page does, and it simply doesn't display a link.

So, this change updates our version to replicate this behaviour.

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

We have built a replacement view licence page, which includes displaying return logs to all users.

All users should be able to see return logs. But when we reviewed the legacy code we overlooked that only permitted users should see a link on 'due/overdue' returns that allows them to edit it.

The issue was reported on behalf of users with basic access. When they were clicking the link they were seeing an error. We checked what the legacy page does and it simply doesn't display a link.

So, this change updates our version to replicate this behaviour.
@Cruikshanks Cruikshanks added the bug Something isn't working label Oct 3, 2024
@Cruikshanks Cruikshanks self-assigned this Oct 3, 2024
@Cruikshanks Cruikshanks marked this pull request as ready for review October 3, 2024 15:25
@Cruikshanks Cruikshanks merged commit 1c286ba into main Oct 3, 2024
6 checks passed
@Cruikshanks Cruikshanks deleted the fix-due-returns-for-non-authorised branch October 3, 2024 16:01
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