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

Remove JSON processing in Haskell for POST/PATCH when not using ?columns - remove "All objects keys must match" condition #2711

Open
steve-chavez opened this issue Mar 22, 2023 · 0 comments
Labels
hygiene cleanup or refactoring idea Needs of discussion to become an enhancement, not ready for implementation

Comments

@steve-chavez
Copy link
Member

Right now when not using ?columns and doing POST/PATCH, we process the json in Haskell code. This generates different behaviors, for example with the new Prefer: undefined-keys=apply-defaults(#2672).

What we need do is to get the privileges on the columns for GRANT INSERT(col1,col2)..; GRANT UPDATE(col1, col2).. for the roles that are member of authenticator. Then we can remove the Haskell json processing.

This would also solve #2446.

@steve-chavez steve-chavez added the hygiene cleanup or refactoring label Mar 22, 2023
@steve-chavez steve-chavez added the idea Needs of discussion to become an enhancement, not ready for implementation label May 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hygiene cleanup or refactoring idea Needs of discussion to become an enhancement, not ready for implementation
Development

No branches or pull requests

1 participant