hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ssrungar...@apache.org
Subject hbase git commit: HBASE-13563 Add missing table owner to AC tests.
Date Sun, 26 Apr 2015 23:44:54 GMT
Repository: hbase
Updated Branches:
  refs/heads/branch-1 566dfda5b -> decc9b9c3


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/decc9b9c
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/decc9b9c
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/decc9b9c

Branch: refs/heads/branch-1
Commit: decc9b9c36a803938a35f3a61775df8dbbbd8942
Parents: 566dfda
Author: Srikanth Srungarapu <ssrungarapu@cloudera.com>
Authored: Sun Apr 26 16:40:40 2015 -0700
Committer: Srikanth Srungarapu <ssrungarapu@cloudera.com>
Committed: Sun Apr 26 16:42:18 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/decc9b9c/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 a9dd52d..75971d6 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
@@ -1965,10 +1965,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);
   }
 
@@ -1989,7 +1989,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);
   }
 


Mime
View raw message