You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by ss...@apache.org on 2015/04/27 01:41:48 UTC
hbase git commit: HBASE-13563 Add missing table owner to AC tests.
Repository: hbase
Updated Branches:
refs/heads/master 807142024 -> 75507af9f
HBASE-13563 Add missing table owner to AC tests.
Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/75507af9
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/75507af9
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/75507af9
Branch: refs/heads/master
Commit: 75507af9f80716a2dac2dd3d1642d70373976915
Parents: 8071420
Author: Srikanth Srungarapu <ss...@cloudera.com>
Authored: Sun Apr 26 16:40:40 2015 -0700
Committer: Srikanth Srungarapu <ss...@cloudera.com>
Committed: Sun Apr 26 16:40:40 2015 -0700
----------------------------------------------------------------------
.../hadoop/hbase/security/access/TestAccessController.java | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/hbase/blob/75507af9/hbase-server/src/test/java/org/apache/hadoop/hbase/security/access/TestAccessController.java
----------------------------------------------------------------------
diff --git a/hbase-server/src/test/java/org/apache/hadoop/hbase/security/access/TestAccessController.java b/hbase-server/src/test/java/org/apache/hadoop/hbase/security/access/TestAccessController.java
index ff0a720..11b9006 100644
--- a/hbase-server/src/test/java/org/apache/hadoop/hbase/security/access/TestAccessController.java
+++ b/hbase-server/src/test/java/org/apache/hadoop/hbase/security/access/TestAccessController.java
@@ -1967,10 +1967,10 @@ public class TestAccessController extends SecureTestUtil {
}
};
- verifyAllowed(listTablesAction, SUPERUSER, USER_ADMIN, USER_CREATE, TABLE_ADMIN);
+ verifyAllowed(listTablesAction, SUPERUSER, USER_ADMIN, USER_CREATE, USER_OWNER, TABLE_ADMIN);
verifyIfEmptyList(listTablesAction, USER_RW, USER_RO, USER_NONE);
- verifyAllowed(getTableDescAction, SUPERUSER, USER_ADMIN, USER_CREATE, TABLE_ADMIN);
+ verifyAllowed(getTableDescAction, SUPERUSER, USER_ADMIN, USER_CREATE, USER_OWNER, TABLE_ADMIN);
verifyDenied(getTableDescAction, USER_RW, USER_RO, USER_NONE);
}
@@ -1991,7 +1991,8 @@ public class TestAccessController extends SecureTestUtil {
}
};
- verifyAllowed(listTablesAction, SUPERUSER, USER_ADMIN, USER_CREATE, USER_RW, USER_RO);
+ verifyAllowed(listTablesAction, SUPERUSER, USER_ADMIN, USER_CREATE, USER_OWNER,
+ USER_RW, USER_RO);
verifyIfEmptyList(listTablesAction, USER_NONE);
}