{"action":"created","issue":{"url":"https://api.github.com/repos/Automattic/wp-calypso/issues/1784","labels_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/1784/labels{/name}","comments_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/1784/comments","events_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/1784/events","html_url":"https://github.com/Automattic/wp-calypso/pull/1784","id":122893583,"number":1784,"title":"Plugins: Fix regression in terms of file mod permission.","user":{"login":"enejb","id":115071,"avatar_url":"https://avatars.githubusercontent.com/u/115071?v=3","gravatar_id":"","url":"https://api.github.com/users/enejb","html_url":"https://github.com/enejb","followers_url":"https://api.github.com/users/enejb/followers","following_url":"https://api.github.com/users/enejb/following{/other_user}","gists_url":"https://api.github.com/users/enejb/gists{/gist_id}","starred_url":"https://api.github.com/users/enejb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/enejb/subscriptions","organizations_url":"https://api.github.com/users/enejb/orgs","repos_url":"https://api.github.com/users/enejb/repos","events_url":"https://api.github.com/users/enejb/events{/privacy}","received_events_url":"https://api.github.com/users/enejb/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Automattic/wp-calypso/labels/Jetpack","name":"Jetpack","color":"006b75"},{"url":"https://api.github.com/repos/Automattic/wp-calypso/labels/Jetpack%20Plugins","name":"Jetpack Plugins","color":"006b75"},{"url":"https://api.github.com/repos/Automattic/wp-calypso/labels/[Status]%20Needs%20Review","name":"[Status] Needs Review","color":"fbca04"}],"state":"open","locked":false,"assignee":{"login":"enejb","id":115071,"avatar_url":"https://avatars.githubusercontent.com/u/115071?v=3","gravatar_id":"","url":"https://api.github.com/users/enejb","html_url":"https://github.com/enejb","followers_url":"https://api.github.com/users/enejb/followers","following_url":"https://api.github.com/users/enejb/following{/other_user}","gists_url":"https://api.github.com/users/enejb/gists{/gist_id}","starred_url":"https://api.github.com/users/enejb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/enejb/subscriptions","organizations_url":"https://api.github.com/users/enejb/orgs","repos_url":"https://api.github.com/users/enejb/repos","events_url":"https://api.github.com/users/enejb/events{/privacy}","received_events_url":"https://api.github.com/users/enejb/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/Automattic/wp-calypso/milestones/44","html_url":"https://github.com/Automattic/wp-calypso/milestones/Mercury%20Me%20&%20Jetpack%20Plans%20bug%20scrub","labels_url":"https://api.github.com/repos/Automattic/wp-calypso/milestones/44/labels","id":1448766,"number":44,"title":"Mercury Me & Jetpack Plans bug scrub","description":"The bug scrub as described here. https://mercuryo2.wordpress.com/2015/12/04/mercury-maintenance-plan-for-end-of-year/\r\n","creator":{"login":"enejb","id":115071,"avatar_url":"https://avatars.githubusercontent.com/u/115071?v=3","gravatar_id":"","url":"https://api.github.com/users/enejb","html_url":"https://github.com/enejb","followers_url":"https://api.github.com/users/enejb/followers","following_url":"https://api.github.com/users/enejb/following{/other_user}","gists_url":"https://api.github.com/users/enejb/gists{/gist_id}","starred_url":"https://api.github.com/users/enejb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/enejb/subscriptions","organizations_url":"https://api.github.com/users/enejb/orgs","repos_url":"https://api.github.com/users/enejb/repos","events_url":"https://api.github.com/users/enejb/events{/privacy}","received_events_url":"https://api.github.com/users/enejb/received_events","type":"User","site_admin":false},"open_issues":30,"closed_issues":39,"state":"open","created_at":"2015-12-07T21:59:52Z","updated_at":"2015-12-18T07:02:46Z","due_on":"2015-12-31T08:00:00Z","closed_at":null},"comments":7,"created_at":"2015-12-18T07:02:19Z","updated_at":"2015-12-18T17:33:42Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Automattic/wp-calypso/pulls/1784","html_url":"https://github.com/Automattic/wp-calypso/pull/1784","diff_url":"https://github.com/Automattic/wp-calypso/pull/1784.diff","patch_url":"https://github.com/Automattic/wp-calypso/pull/1784.patch"},"body":"Currently a user is not able to install, remove and update plugins\r\nif a site has certain constants set and version control set. \r\n\r\nThis PR fixes this by removing some of these restrictions since they are currently not in core as well. \r\n\r\nThis PR will enable autoupdates to work as previously and will allow autoupdates to happen unless the user has the constant AUTOMATIC_UPDATER_DISABLED set. \r\n\r\n**To test**:\r\n\r\nUpdate your sandbox with the following constants. \r\ndefine( 'FS_METHOD', 'ssh2' );\r\ndefine( 'DISALLOW_FILE_MODS',true );\r\ndefine( 'AUTOMATIC_UPDATER_DISABLED', true );\r\n\r\nif the FS_METHOD is set you will not be able to install, update, remove and autoupdate plugins\r\nif the DISALLOW_FILE_MODS is set you will not be able to install, update, remove and autoupdate plugins\r\nif AUTOMATIC_UPDATER_DISABLED  is set you will not be able to autoupdate plugins.\r\n"},"comment":{"url":"https://api.github.com/repos/Automattic/wp-calypso/issues/comments/165848347","html_url":"https://github.com/Automattic/wp-calypso/pull/1784#issuecomment-165848347","issue_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/1784","id":165848347,"user":{"login":"enejb","id":115071,"avatar_url":"https://avatars.githubusercontent.com/u/115071?v=3","gravatar_id":"","url":"https://api.github.com/users/enejb","html_url":"https://github.com/enejb","followers_url":"https://api.github.com/users/enejb/followers","following_url":"https://api.github.com/users/enejb/following{/other_user}","gists_url":"https://api.github.com/users/enejb/gists{/gist_id}","starred_url":"https://api.github.com/users/enejb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/enejb/subscriptions","organizations_url":"https://api.github.com/users/enejb/orgs","repos_url":"https://api.github.com/users/enejb/repos","events_url":"https://api.github.com/users/enejb/events{/privacy}","received_events_url":"https://api.github.com/users/enejb/received_events","type":"User","site_admin":false},"created_at":"2015-12-18T17:33:42Z","updated_at":"2015-12-18T17:33:42Z","body":"@johnHackworth that line is a mistake :( \r\nI was trying to disable the toggling of autoUpdated in the action. "}}