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

Add the a user_has_access helper function to interactions module. #194

Merged
merged 1 commit into from
Jan 30, 2024

Conversation

ChrisLovering
Copy link
Member

This returns whether the given user is in the allowed_users list, or has a role from allowed_roles.

@netlify
Copy link

netlify bot commented Sep 2, 2023

Deploy Preview for bot-core ready!

Name Link
🔨 Latest commit 7d306e6
🔍 Latest deploy log https://app.netlify.com/sites/bot-core/deploys/65b94b668c792900080e5334
😎 Deploy Preview https://deploy-preview-194--bot-core.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

This returns whether the given user is in the allowed_users list, or has a role from allowed_roles.
@ChrisLovering ChrisLovering merged commit 7d306e6 into main Jan 30, 2024
8 checks passed
@ChrisLovering ChrisLovering deleted the interaction-check-function branch January 30, 2024 19:26
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

Successfully merging this pull request may close these issues.

1 participant