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

Ted Yu commented on HBASE-8492:
-------------------------------

In testGrantRevoke(), READ permission was taken away from USER_RO for 
TEST_TABLE :
{code}
          ProtobufUtil.revoke(protocol, USER_RO.getShortName(), TEST_TABLE,
            TEST_FAMILY, null, Action.READ);
{code}
But the verification seems to be at the global level:
{code}
    verifyAllowed(revokeAction, SUPERUSER, USER_ADMIN, USER_OWNER);
    verifyDenied(revokeAction, USER_CREATE, USER_RW, USER_RO, USER_NONE);
{code}
Should verification on the TEST_TABLE be added ?
                
> Introduce master failover into TestAccessController
> ---------------------------------------------------
>
>                 Key: HBASE-8492
>                 URL: https://issues.apache.org/jira/browse/HBASE-8492
>             Project: HBase
>          Issue Type: Test
>            Reporter: Ted Yu
>         Attachments: 8492-0.94-v1.txt
>
>
> Currently TestAccessController starts a cluster with one master.
> This JIRA introduces two masters in the cluster where the active master is 
> stopped. Expectation is that standby master should take over and perform 
> permission verification.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to