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
Combining permissions with -OR- #2350
Comments
I thought about this a few times before. Kinda tempting to mimic the way it's implemented in the django-rest-framework. So far I always ended up implementing separate permission classes for basically all my protected fields. Guess this could be a nice feature enabling more shared code. I think we were discussing the state of permissions in our roadmap to v1 before. Personally, I would welcome related PRs, what do you think @patrick91 ? |
In my project I have resolvers that should be acessible if at least one of multiple conditions is met -- aka "OR".
I'm currently implementing it in a single permission class, but it would be ideal if I could combine them. A few examples:
Feature Request Type
Upvote & Fund
The text was updated successfully, but these errors were encountered: