-
Notifications
You must be signed in to change notification settings - Fork 766
Django permissions required for Nodes, Mutations and Connections #301
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
Conversation
Looks nice! |
Hey @carlosmart626. Will this PR ever be approved?
This basically does the same. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Permissions strategy needs to discussed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What I like about this PR is it is not inventing any new opinions. All it does is connect django's existing permission framework to our classes with helper functions. It is hard for me to imagine a permission strategy that is less opinionated or less opt-in. That is why I am approving this PR.
@firaskafri @zbyte64 I can fix the issues to related to the pipeline to continue with this PR. Is any other issue to address here? |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This PR adds support to required Django permissions at Nodes, Mutations and Connections.
Example Node:
Example Mutation:
Example Connection: