{"action":"closed","issue":{"url":"https://api.github.com/repos/ongoworks/meteor-security/issues/27","labels_url":"https://api.github.com/repos/ongoworks/meteor-security/issues/27/labels{/name}","comments_url":"https://api.github.com/repos/ongoworks/meteor-security/issues/27/comments","events_url":"https://api.github.com/repos/ongoworks/meteor-security/issues/27/events","html_url":"https://github.com/ongoworks/meteor-security/issues/27","id":92857351,"number":27,"title":"enable editing only for `profile` field in User document","user":{"login":"achtan","id":1048212,"avatar_url":"https://avatars.githubusercontent.com/u/1048212?v=3","gravatar_id":"","url":"https://api.github.com/users/achtan","html_url":"https://github.com/achtan","followers_url":"https://api.github.com/users/achtan/followers","following_url":"https://api.github.com/users/achtan/following{/other_user}","gists_url":"https://api.github.com/users/achtan/gists{/gist_id}","starred_url":"https://api.github.com/users/achtan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/achtan/subscriptions","organizations_url":"https://api.github.com/users/achtan/orgs","repos_url":"https://api.github.com/users/achtan/repos","events_url":"https://api.github.com/users/achtan/events{/privacy}","received_events_url":"https://api.github.com/users/achtan/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ongoworks/meteor-security/labels/question","name":"question","color":"cc317c"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-07-03T11:38:18Z","updated_at":"2015-07-08T12:30:49Z","closed_at":"2015-07-08T12:30:49Z","body":"Hi, how to enable editing only for `profile` field in User document?\r\n\r\nthis is not working\r\n`Users.permit(['update']).onlyProps('profile').ifOwner().apply();`"}}