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

Update to check the resource of the nested model for scoping to a tenant and canCreate permissions #32

Merged
merged 1 commit into from
Apr 28, 2024

Conversation

jamessessford
Copy link
Contributor

Updated authorizeAccess function to check the resource you're trying to create

Updated tenant checks in handleRecordCreation and associateRecordWithTenant to check the resource you're trying to create

…to create

Updated tenant checks in handleRecordCreation and associateRecordWithTenant to check the resource you're trying to create
@lukas-frey
Copy link
Contributor

Hi @jamessessford thanks a lot for the PR. Merging :)

@lukas-frey lukas-frey merged commit 0a27a08 into GuavaCZ:main Apr 28, 2024
Copy link

🎉 This PR is included in version 1.0.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants