{"action":"opened","issue":{"number":173,"created_at":"2011-10-18T13:53:39Z","pull_request":{"diff_url":null,"patch_url":null,"html_url":null},"body":"Apologies for opening a ticket for this, but I was wondering how one can be best overwrite default deny_access behavior? As far as creating a REST api, a redirect is not actually the desired behavior for many operations that should be denied (instead, one may want to receive a 401 unauthorized error code and call it a day.)\r\n\r\nAny advice on how to best handle that? Right now I just have a fork that's special cased for a js format, but that doesn't seem ideal.\r\n\r\nThanks,","comments":0,"title":"what is the proper way to extend deny_access?","updated_at":"2011-10-18T13:53:39Z","url":"https://api.github.com/repos/thoughtbot/clearance/issues/173","id":1943001,"assignee":null,"milestone":null,"closed_at":null,"user":{"gravatar_id":"f99c66cc9f64454df105006286d47521","avatar_url":"https://secure.gravatar.com/avatar/f99c66cc9f64454df105006286d47521?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/iros","id":18690,"login":"iros"},"html_url":"https://github.com/thoughtbot/clearance/issues/173","labels":[],"state":"open"},"legacy":{"number":173,"action":"opened","issue":1943001}}