{"action":"created","issue":{"url":"https://api.github.com/repos/Tatoeba/tatoeba2/issues/618","labels_url":"https://api.github.com/repos/Tatoeba/tatoeba2/issues/618/labels{/name}","comments_url":"https://api.github.com/repos/Tatoeba/tatoeba2/issues/618/comments","events_url":"https://api.github.com/repos/Tatoeba/tatoeba2/issues/618/events","html_url":"https://github.com/Tatoeba/tatoeba2/issues/618","id":63099005,"number":618,"title":"Review/fix ACL stuff","user":{"login":"trang","id":221850,"avatar_url":"https://avatars.githubusercontent.com/u/221850?v=3","gravatar_id":"","url":"https://api.github.com/users/trang","html_url":"https://github.com/trang","followers_url":"https://api.github.com/users/trang/followers","following_url":"https://api.github.com/users/trang/following{/other_user}","gists_url":"https://api.github.com/users/trang/gists{/gist_id}","starred_url":"https://api.github.com/users/trang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trang/subscriptions","organizations_url":"https://api.github.com/users/trang/orgs","repos_url":"https://api.github.com/users/trang/repos","events_url":"https://api.github.com/users/trang/events{/privacy}","received_events_url":"https://api.github.com/users/trang/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-19T21:55:02Z","updated_at":"2015-03-27T23:14:19Z","closed_at":null,"body":"There are several actions that are listed in `$this->Auth->allowedActions` of some controllers but shouldn't be. We need to remove them from the allowedActions and update properly the ACL tables with the cake console.\r\n\r\nWe don't have a way to keep track of the incremental changes on the ACL tables. Maybe along with the `*.sql` files in `docs/database/updates` we need to have another file that will contain the cake console commands to update the ACL tables whenever a new controller or action is added."},"comment":{"url":"https://api.github.com/repos/Tatoeba/tatoeba2/issues/comments/87117742","html_url":"https://github.com/Tatoeba/tatoeba2/issues/618#issuecomment-87117742","issue_url":"https://api.github.com/repos/Tatoeba/tatoeba2/issues/618","id":87117742,"user":{"login":"trang","id":221850,"avatar_url":"https://avatars.githubusercontent.com/u/221850?v=3","gravatar_id":"","url":"https://api.github.com/users/trang","html_url":"https://github.com/trang","followers_url":"https://api.github.com/users/trang/followers","following_url":"https://api.github.com/users/trang/following{/other_user}","gists_url":"https://api.github.com/users/trang/gists{/gist_id}","starred_url":"https://api.github.com/users/trang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trang/subscriptions","organizations_url":"https://api.github.com/users/trang/orgs","repos_url":"https://api.github.com/users/trang/repos","events_url":"https://api.github.com/users/trang/events{/privacy}","received_events_url":"https://api.github.com/users/trang/received_events","type":"User","site_admin":false},"created_at":"2015-03-27T23:14:19Z","updated_at":"2015-03-27T23:14:19Z","body":"TODO:\r\n<pre>\r\n../cake/console/cake acl create aco Sentences edit_correctness\r\n../cake/console/cake acl create aco Sentences edit_audio\r\n../cake/console/cake acl create aco SentenceComments edit\r\n../cake/console/cake acl create aco SentenceComments hide_message\r\n../cake/console/cake acl create aco SentenceComments unhide_message\r\n../cake/console/cake acl create aco Wall edit\r\n../cake/console/cake acl create aco Wall hide_message\r\n../cake/console/cake acl create aco Wall unhide_message\r\n\r\n../cake/console/cake acl deny  Group.2 Wall/hide_message all\r\n../cake/console/cake acl deny  Group.2 Wall/unhide_message all\r\n../cake/console/cake acl deny  Group.3 Wall/hide_message all\r\n../cake/console/cake acl deny  Group.3 Wall/unhide_message all\r\n../cake/console/cake acl deny  Group.4 Wall/hide_message all\r\n../cake/console/cake acl deny  Group.4 Wall/unhide_message all\r\n\r\n../cake/console/cake acl deny  Group.2 SentenceComments/hide_message all\r\n../cake/console/cake acl deny  Group.2 SentenceComments/unhide_message all\r\n../cake/console/cake acl deny  Group.3 SentenceComments/hide_message all\r\n../cake/console/cake acl deny  Group.3 SentenceComments/unhide_message all\r\n../cake/console/cake acl deny  Group.4 SentenceComments/hide_message all\r\n../cake/console/cake acl deny  Group.4 SentenceComments/unhide_message all\r\n</pre>"}}