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

feat: add graphql query authentication #587

Merged
merged 3 commits into from
Apr 17, 2024
Merged

Conversation

vncsna
Copy link
Contributor

@vncsna vncsna commented Apr 7, 2024

Purpose

  • Improve fine-grained authentication

Description

  • Add graphql query authentication

Checklist

  • I have reviewed the code changes.
  • I have tested the changes locally.
  • I have updated the documentation if needed.
  • I have added/modified tests to ensure the changes are valid.

Testing and evidence

Next steps

@@ -296,6 +279,7 @@ class Account(BaseModel, AbstractBaseUser, PermissionsMixin):
]
graphql_filter_fields_blacklist = ["internal_subscription"]
graphql_nested_filter_fields_whitelist = ["email", "username"]
graphql_query_decorator = ownership_required
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Única mudança significativa nesse arquivo, as demais foram movimentar código

@vncsna vncsna linked an issue Apr 8, 2024 that may be closed by this pull request
@vncsna vncsna force-pushed the feat/graphql-auth-query branch from e2b7dd1 to 5555259 Compare April 8, 2024 20:14
@vncsna vncsna requested a review from AldemirLucas April 8, 2024 20:14
@vncsna vncsna added the preview Preview development deployment label Apr 8, 2024
@vncsna vncsna force-pushed the feat/graphql-auth-query branch from 5555259 to 235f1af Compare April 9, 2024 12:28
@vncsna vncsna added preview Preview development deployment and removed preview Preview development deployment labels Apr 9, 2024
@vncsna vncsna force-pushed the feat/graphql-auth-query branch from 305a0d6 to 45cd919 Compare April 11, 2024 14:18
@vncsna vncsna added preview Preview development deployment and removed preview Preview development deployment labels Apr 11, 2024
@vncsna vncsna force-pushed the feat/graphql-auth-query branch from 45cd919 to 43c468d Compare April 16, 2024 10:33
@vncsna vncsna added preview Preview development deployment and removed preview Preview development deployment labels Apr 16, 2024
@vncsna vncsna marked this pull request as ready for review April 17, 2024 17:42
@vncsna vncsna merged commit 68d3c42 into main Apr 17, 2024
5 checks passed
@vncsna vncsna deleted the feat/graphql-auth-query branch April 17, 2024 17:42
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.

Adicionar autenticação na query allAccount
1 participant