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(core): Add Permission.ReadProduct to Allow decorator of TaxCategoryResolver.taxCategories #1275

Conversation

vrosa
Copy link
Contributor

@vrosa vrosa commented Dec 9, 2021

This is closely related to #1258 and something I missed when testing read-only permissions.

TaxCategoryResolver.taxCategories() is also ultimately called as part of the product view flow; in this case, by ProductDetailComponent. It already allows ReadCatalog so it makes sense to allow ReadProduct as well.

@michaelbromley michaelbromley merged commit ff24fc0 into vendure-ecommerce:master Dec 9, 2021
@michaelbromley
Copy link
Member

Good catch 👍

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.

2 participants