{"action":"created","issue":{"url":"https://api.github.com/repos/ajzele/Inchoo_LoginAsCustomer/issues/9","labels_url":"https://api.github.com/repos/ajzele/Inchoo_LoginAsCustomer/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/ajzele/Inchoo_LoginAsCustomer/issues/9/comments","events_url":"https://api.github.com/repos/ajzele/Inchoo_LoginAsCustomer/issues/9/events","html_url":"https://github.com/ajzele/Inchoo_LoginAsCustomer/pull/9","id":94712846,"number":9,"title":"Magento Patch SUPEE-6285 Fix","user":{"login":"buric","id":1558492,"avatar_url":"https://avatars.githubusercontent.com/u/1558492?v=3","gravatar_id":"","url":"https://api.github.com/users/buric","html_url":"https://github.com/buric","followers_url":"https://api.github.com/users/buric/followers","following_url":"https://api.github.com/users/buric/following{/other_user}","gists_url":"https://api.github.com/users/buric/gists{/gist_id}","starred_url":"https://api.github.com/users/buric/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/buric/subscriptions","organizations_url":"https://api.github.com/users/buric/orgs","repos_url":"https://api.github.com/users/buric/repos","events_url":"https://api.github.com/users/buric/events{/privacy}","received_events_url":"https://api.github.com/users/buric/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-07-13T12:44:43Z","updated_at":"2015-07-27T18:00:56Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ajzele/Inchoo_LoginAsCustomer/pulls/9","html_url":"https://github.com/ajzele/Inchoo_LoginAsCustomer/pull/9","diff_url":"https://github.com/ajzele/Inchoo_LoginAsCustomer/pull/9.diff","patch_url":"https://github.com/ajzele/Inchoo_LoginAsCustomer/pull/9.patch"},"body":""},"comment":{"url":"https://api.github.com/repos/ajzele/Inchoo_LoginAsCustomer/issues/comments/125289003","html_url":"https://github.com/ajzele/Inchoo_LoginAsCustomer/pull/9#issuecomment-125289003","issue_url":"https://api.github.com/repos/ajzele/Inchoo_LoginAsCustomer/issues/9","id":125289003,"user":{"login":"calicocook","id":5778086,"avatar_url":"https://avatars.githubusercontent.com/u/5778086?v=3","gravatar_id":"","url":"https://api.github.com/users/calicocook","html_url":"https://github.com/calicocook","followers_url":"https://api.github.com/users/calicocook/followers","following_url":"https://api.github.com/users/calicocook/following{/other_user}","gists_url":"https://api.github.com/users/calicocook/gists{/gist_id}","starred_url":"https://api.github.com/users/calicocook/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/calicocook/subscriptions","organizations_url":"https://api.github.com/users/calicocook/orgs","repos_url":"https://api.github.com/users/calicocook/repos","events_url":"https://api.github.com/users/calicocook/events{/privacy}","received_events_url":"https://api.github.com/users/calicocook/received_events","type":"User","site_admin":false},"created_at":"2015-07-27T18:00:56Z","updated_at":"2015-07-27T18:00:56Z","body":"We had to patch our contribution and add an ACL, we are EE 1.12.  The version of the module we have, had no roles implemented we could find, a common patch is to just implement the following as \"return true;\" but then that allows all users with admin logins to access it.\r\n\r\napp/code/community/Inchoo/LoginAsCustomer/controllers/Adminhtml/Inchoo/LoginAsCustomerController.php\r\n+    /**\r\n+     * Post SUPEE-6285 all custom modules intended\r\n+     *    for users who have selective permissions (not admin permissions) need to implement this.\r\n+     *\r\n+     * @return bool\r\n+     */\r\n+    protected function _isAllowed()\r\n+    {\r\n+        return Mage::getSingleton('admin/session')->isAllowed('system/config/inchoo_loginAsCustomer');\r\n+    }"}}