{"action":"created","issue":{"url":"https://api.github.com/repos/parse-community/parse-server/issues/5177","repository_url":"https://api.github.com/repos/parse-community/parse-server","labels_url":"https://api.github.com/repos/parse-community/parse-server/issues/5177/labels{/name}","comments_url":"https://api.github.com/repos/parse-community/parse-server/issues/5177/comments","events_url":"https://api.github.com/repos/parse-community/parse-server/issues/5177/events","html_url":"https://github.com/parse-community/parse-server/issues/5177","id":381582895,"node_id":"MDU6SXNzdWUzODE1ODI4OTU=","number":5177,"title":"Saving object with CLP Update-only throws error","user":{"login":"rihadavid","id":15065185,"node_id":"MDQ6VXNlcjE1MDY1MTg1","avatar_url":"https://avatars2.githubusercontent.com/u/15065185?v=4","gravatar_id":"","url":"https://api.github.com/users/rihadavid","html_url":"https://github.com/rihadavid","followers_url":"https://api.github.com/users/rihadavid/followers","following_url":"https://api.github.com/users/rihadavid/following{/other_user}","gists_url":"https://api.github.com/users/rihadavid/gists{/gist_id}","starred_url":"https://api.github.com/users/rihadavid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rihadavid/subscriptions","organizations_url":"https://api.github.com/users/rihadavid/orgs","repos_url":"https://api.github.com/users/rihadavid/repos","events_url":"https://api.github.com/users/rihadavid/events{/privacy}","received_events_url":"https://api.github.com/users/rihadavid/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-11-16T12:38:36Z","updated_at":"2018-12-31T13:36:29Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"### Issue Description\r\n\r\nWhen saving object from client side with CLP set to Update-only, it throws `Permission denied for action get on class Comment.` When I allow Get in CLP, it starts working again. I tried to log inside `Parse.Cloud.beforeSave(\"Comment\")`, but it does not even get called.\r\n\r\nIt is happening on 2.8.4, tried also 2.6.5, 2.8.0 and 2.8.3, those are ok. Did not try newer, but did not see this issue mentioned in the changelog.\r\n\r\n### Steps to reproduce\r\n\r\nSet CLP to Update allowed, everything else disabled. Create an object in the dashboard and then try to update any of its fields from the client side, without the master key.\r\n \r\n### Expected Results\r\n\r\nObject should be saved, because we have Update allowed in CLP.\r\n\r\n### Actual Outcome\r\n\r\nObject is not saved, although we have Update allowed in CLP. We also need Get allowed.\r\n\r\n### Environment Setup\r\n\r\n- **Server**\r\n  - parse-server version: 2.8.4\r\n  - Operating System: WINDOWS 10\r\n  - Localhost or remote server: LOCAL\r\n\r\n- **Database**\r\n  - MongoDB version: 3.6.6\r\n  - Localhost or remote server? mLab\r\n\r\n### Logs/Trace\r\n\r\n```\r\nverbose: REQUEST for [PUT] /parse/classes/Comment/bIRLdNysQH: {\r\n  \"temp\": \"!likes\"\r\n} method=PUT, url=/parse/classes/Comment/bIRLdNysQH, x-parse-application-id=parselocal, x-parse-client-version=net-xamarin-android1.7.0.0, x-parse-installation-id=26e8ef64-ccfa-420b-a475-fe8663bf555c, x-parse-app-build-version=25, x-parse-app-display-version=1.7.7, x-parse-os-version=6.0.1, x-parse-windows-key=, x-parse-session-token=r:f8591e34b5922feb142a388fb580c33c, content-type=application/json, if-modified-since=Fri, 16 Nov 2018 12:29:54 GMT, content-length=17, expect=100-continue, host=10.0.0.3:1337, temp=!likes\r\nerror: Error generating response. ParseError {\r\n  code: 119,\r\n  message: 'Permission denied for action get on class Comment.' } code=119, message=Permission denied for action get on class Comment.\r\nerror: Permission denied for action get on class Comment. code=119, message=Permission denied for action get on class Comment.\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/parse-community/parse-server/issues/comments/450646662","html_url":"https://github.com/parse-community/parse-server/issues/5177#issuecomment-450646662","issue_url":"https://api.github.com/repos/parse-community/parse-server/issues/5177","id":450646662,"node_id":"MDEyOklzc3VlQ29tbWVudDQ1MDY0NjY2Mg==","user":{"login":"rihadavid","id":15065185,"node_id":"MDQ6VXNlcjE1MDY1MTg1","avatar_url":"https://avatars2.githubusercontent.com/u/15065185?v=4","gravatar_id":"","url":"https://api.github.com/users/rihadavid","html_url":"https://github.com/rihadavid","followers_url":"https://api.github.com/users/rihadavid/followers","following_url":"https://api.github.com/users/rihadavid/following{/other_user}","gists_url":"https://api.github.com/users/rihadavid/gists{/gist_id}","starred_url":"https://api.github.com/users/rihadavid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rihadavid/subscriptions","organizations_url":"https://api.github.com/users/rihadavid/orgs","repos_url":"https://api.github.com/users/rihadavid/repos","events_url":"https://api.github.com/users/rihadavid/events{/privacy}","received_events_url":"https://api.github.com/users/rihadavid/received_events","type":"User","site_admin":false},"created_at":"2018-12-31T13:36:29Z","updated_at":"2018-12-31T13:36:29Z","author_association":"CONTRIBUTOR","body":"Sorry, I can't test it right now, I am on 2.3.3 as I said"}}
{"actor":{"display_login":"rihadavid"}}