{"action":"closed","issue":{"url":"https://api.github.com/repos/OptimalBits/node_acl/issues/119","labels_url":"https://api.github.com/repos/OptimalBits/node_acl/issues/119/labels{/name}","comments_url":"https://api.github.com/repos/OptimalBits/node_acl/issues/119/comments","events_url":"https://api.github.com/repos/OptimalBits/node_acl/issues/119/events","html_url":"https://github.com/OptimalBits/node_acl/issues/119","id":73412160,"number":119,"title":"acl.middleware  always return 200 response","user":{"login":"sergiregi88","id":3923675,"avatar_url":"https://avatars.githubusercontent.com/u/3923675?v=3","gravatar_id":"","url":"https://api.github.com/users/sergiregi88","html_url":"https://github.com/sergiregi88","followers_url":"https://api.github.com/users/sergiregi88/followers","following_url":"https://api.github.com/users/sergiregi88/following{/other_user}","gists_url":"https://api.github.com/users/sergiregi88/gists{/gist_id}","starred_url":"https://api.github.com/users/sergiregi88/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sergiregi88/subscriptions","organizations_url":"https://api.github.com/users/sergiregi88/orgs","repos_url":"https://api.github.com/users/sergiregi88/repos","events_url":"https://api.github.com/users/sergiregi88/events{/privacy}","received_events_url":"https://api.github.com/users/sergiregi88/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-05T19:40:05Z","updated_at":"2015-05-07T08:27:01Z","closed_at":"2015-05-07T08:27:01Z","body":"I have that code \r\n\r\n    acl.allow([\r\n        {\r\n            roles: 'admin',\r\n            allows: [\r\n              { resources: 'secret2', permissions: '*' }\r\n            ],\r\n         }, {\r\n            roles: 'user',\r\n            allows: [\r\n                { resources: 'secret', permissions: '*' }\r\n            ],\r\n               }, {\r\n            roles: 'guest',\r\n            allows: []\r\n        }\r\n    ]);\r\nand when I call acl.middeware(1,get_user_id) on app.get('/secret'.... when user has \"admin\" role not return a http 403 error return 200 Ok \r\n\r\n\r\n \r\nWhat I am doing wrong¿¿¿¿¿!!!!!!!\r\nIt is a bug or What???????\r\n\r\n"}}