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

Matteo Bertozzi commented on HBASE-13436:
-----------------------------------------

ok, sounds good. what about having a toContextString() with flags (or another 
method) that returns the information that you need but applying the 
restrictions that you want?
Just trying to see if we can get all the AccessDeniedException messages 
composed in AuthResult. At least next time we want to add an information or 
change the format we know that we have to do that in a single place.
+1 if you don't think this is worth

> Include user name in ADE for scans
> ----------------------------------
>
>                 Key: HBASE-13436
>                 URL: https://issues.apache.org/jira/browse/HBASE-13436
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: Srikanth Srungarapu
>            Assignee: Srikanth Srungarapu
>            Priority: Minor
>         Attachments: HBASE-13436.patch
>
>
> Currently, we're not including user name in case of ADE for scans, whereas in 
> case of other operations we're doing so. 
> {code}
> ERROR: org.apache.hadoop.hbase.security.AccessDeniedException: Insufficient 
> permissions (table=test, action=READ)
> {code}
> Got bumped into this internally. Helps during debugging. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to