{"action":"created","issue":{"url":"https://api.github.com/repos/ParsePlatform/parse-server/issues/1868","repository_url":"https://api.github.com/repos/ParsePlatform/parse-server","labels_url":"https://api.github.com/repos/ParsePlatform/parse-server/issues/1868/labels{/name}","comments_url":"https://api.github.com/repos/ParsePlatform/parse-server/issues/1868/comments","events_url":"https://api.github.com/repos/ParsePlatform/parse-server/issues/1868/events","html_url":"https://github.com/ParsePlatform/parse-server/issues/1868","id":156151568,"number":1868,"title":"Add CloudCode trigger before/after request","user":{"login":"iStopped","id":910971,"avatar_url":"https://avatars.githubusercontent.com/u/910971?v=3","gravatar_id":"","url":"https://api.github.com/users/iStopped","html_url":"https://github.com/iStopped","followers_url":"https://api.github.com/users/iStopped/followers","following_url":"https://api.github.com/users/iStopped/following{/other_user}","gists_url":"https://api.github.com/users/iStopped/gists{/gist_id}","starred_url":"https://api.github.com/users/iStopped/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iStopped/subscriptions","organizations_url":"https://api.github.com/users/iStopped/orgs","repos_url":"https://api.github.com/users/iStopped/repos","events_url":"https://api.github.com/users/iStopped/events{/privacy}","received_events_url":"https://api.github.com/users/iStopped/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ParsePlatform/parse-server/labels/discussion","name":"discussion","color":"eb6420"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-05-22T13:12:37Z","updated_at":"2016-05-22T18:08:21Z","closed_at":null,"body":"Currently there is no way to intercept a request and approve/deny it if necessary, or have something like computed fields on other DBMS.\r\n\r\nImagine a scenario where you have the possibility to have private users, and you have to deny/obscure some field when a user has no right to get info about another user. It would be great to have the ability to edit the response or block it entirely.\r\n\r\nI would gladly help submitting a PR if someone cloud clarify your request handling mechanism."},"comment":{"url":"https://api.github.com/repos/ParsePlatform/parse-server/issues/comments/220846889","html_url":"https://github.com/ParsePlatform/parse-server/issues/1868#issuecomment-220846889","issue_url":"https://api.github.com/repos/ParsePlatform/parse-server/issues/1868","id":220846889,"user":{"login":"iStopped","id":910971,"avatar_url":"https://avatars.githubusercontent.com/u/910971?v=3","gravatar_id":"","url":"https://api.github.com/users/iStopped","html_url":"https://github.com/iStopped","followers_url":"https://api.github.com/users/iStopped/followers","following_url":"https://api.github.com/users/iStopped/following{/other_user}","gists_url":"https://api.github.com/users/iStopped/gists{/gist_id}","starred_url":"https://api.github.com/users/iStopped/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iStopped/subscriptions","organizations_url":"https://api.github.com/users/iStopped/orgs","repos_url":"https://api.github.com/users/iStopped/repos","events_url":"https://api.github.com/users/iStopped/events{/privacy}","received_events_url":"https://api.github.com/users/iStopped/received_events","type":"User","site_admin":false},"created_at":"2016-05-22T18:08:21Z","updated_at":"2016-05-22T18:08:21Z","body":"That was a simple scenario, a more likely scenario involves computed fields. Thank you for the suggestion, I'll have a look in the code."}}
{"actor":{"display_login":"iStopped"}}