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

read permission on POST #326

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

Comments

1 participant
@cassiobotaro
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 -X POST localhost:3000/demo/public/person -d '{"name": "joe", "age": 27}'.

Expected to returns only age field, but both are returned.

@cassiobotaro cassiobotaro added the bug label Jul 26, 2018

@cassiobotaro cassiobotaro changed the title from read permission in insert to read permission on POST Jul 26, 2018

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