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

When PUTing an update to a plot/tree the values are being passed for fields that the user does not have permission to update #287

Open
maurizi opened this issue Nov 4, 2016 · 0 comments

Comments

@maurizi
Copy link
Contributor

maurizi commented Nov 4, 2016

A couple of problems are happening here:

  • The server backend does "diffing" to ensure that it doesn't run into permissions issues if it gets "updates" for a non-writeable field, but the new values are the same as the old values. Since we're getting errors, this indicates something is being posted to the server with different values than are stored in the DB, despite changes not being made to that field.
    • On iOS, this was encountered with geom acquiring rounding errors and booleans being silently converted into numbers
  • We probably shouldn't include fields in the PUT request at all if the user doesn't have permissions to edit those fields
@maurizi maurizi added the bug label Nov 4, 2016
@dboyer dboyer added the high label Dec 19, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants