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

require users to have been granted the access permission to access the tool #205

Merged
merged 3 commits into from
Jan 21, 2025

Conversation

andrew-nowak
Copy link
Member

What does this change?

Users should have been granted the access permission, in order to have permission to access the tool. Followup to #198 to enforce the permission.

How to test

Deploy to CODE, and try accessing the tool both with and without the correct permission. Are you prevented from accessing without the permission -- with a useful message for seeking assistance -- and allowed to access with the permission?

@andrew-nowak andrew-nowak requested a review from a team as a code owner January 15, 2025 15:13
Co-authored-by: David Furey <david.furey@guardian.co.uk>
Copy link

@bryophyta bryophyta left a comment

Choose a reason for hiding this comment

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

lgtm! follows a familiar pattern for enforcing permissions checks and is easy to reason about 👍

@andrew-nowak andrew-nowak merged commit 19f5ea4 into main Jan 21, 2025
3 checks passed
@prout-bot
Copy link

Seen on PROD (merged by @andrew-nowak 6 minutes and 26 seconds ago) Please check your changes!

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.

4 participants