[ 
https://issues.apache.org/jira/browse/HBASE-22123?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16804154#comment-16804154
 ] 

stack commented on HBASE-22123:
-------------------------------

Patch looks good to me. Could you format it in a manner that agrees with the 
rest of the file (space after the if and parens around the throw)? What happens 
when the ADE is thrown? User gets 404 or 401?

> REST gateway reports Insufficient permissions exceptions as 404 Not Found
> -------------------------------------------------------------------------
>
>                 Key: HBASE-22123
>                 URL: https://issues.apache.org/jira/browse/HBASE-22123
>             Project: HBase
>          Issue Type: Bug
>          Components: REST
>    Affects Versions: 2.0.5
>            Reporter: Tomas Sokorai
>            Priority: Minor
>         Attachments: HBASE-22123.patch
>
>
> When a row access is denied due to insufficient permissions, the error thrown 
> to the client is 404 Not Found, instead of the proper 403 Forbidden exception.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to