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

Support for Headers in Custom Check in Permissions in DATA tab #10277

Open
Kashish3009 opened this issue Jun 6, 2024 · 0 comments
Open

Support for Headers in Custom Check in Permissions in DATA tab #10277

Kashish3009 opened this issue Jun 6, 2024 · 0 comments
Labels
k/enhancement New feature or improve an existing feature

Comments

@Kashish3009
Copy link

Problem Description

In the current Hasura v2 console, specifically within the "DATA" tab for managing database tables, if we want to implement permissions for data operations (Insert/Update/Delete) and validate inputs against client headers, we have to forward these headers to a webhook for authentication before performing any data manipulation.

Feature request

We propose adding a feature to the "with custom check" section. This feature would enable users to select and validate headers directly within Hasura, alongside columns, eliminating the need to forward headers to a webhook for authentication.

Alternatives

If this feature is not implemented, we will need to continue using the current method of forwarding client headers to a webhook for validation which is going to be an additional effort.

Example

image

@Kashish3009 Kashish3009 added the k/enhancement New feature or improve an existing feature label Jun 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
k/enhancement New feature or improve an existing feature
Projects
None yet
Development

No branches or pull requests

1 participant