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

write permissions #325

Open
cassiobotaro opened this issue Jul 26, 2018 · 0 comments
Open

write permissions #325

cassiobotaro opened this issue Jul 26, 2018 · 0 comments

Comments

@cassiobotaro
Copy link
Contributor

cassiobotaro commented Jul 26, 2018

  • pREST version (or commit ref): master
  • pREST endpoint: /<database>/<schema>/<table>
  • PostgreSQL version: 10
  • Operating system: linux
  • Go version: 1.10.3
  • Log gist: -

Description

Using prest as framework and setting some table permissions as this gist.

Try to add a person using name and age curl localhost:3000/demo/public/person -d '{"name": "joe", "age": 27}'.

Expected to set only the name field but it had set both.

Occurs in INSERT, PUT and PATH.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants