mirumee / saleor-app-framework-python

Python Saleor App/Extension boilerplate. Batteries included.
https://mirumee.github.io/saleor-app-framework-python/
BSD 3-Clause "New" or "Revised" License
50 stars 23 forks source link

Use logic from `require_permission` by default #10

Open korycins opened 2 years ago

korycins commented 2 years ago

We have a dependency that is responsible for checking the required app permissions vs permissions received from a token. This should be used in the case when we use endpoints for communicating with iframe. Would be good to have an interface that will force you to determine expected permission in case of usage a deps for forms