hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From te...@apache.org
Subject hbase git commit: HBASE-12553 request value is not consistent for restoreSnapshot in audit logs (Ashish)
Date Wed, 10 Dec 2014 04:40:26 GMT
Repository: hbase
Updated Branches:
  refs/heads/master 011442edd -> 9b808155e


HBASE-12553 request value is not consistent for restoreSnapshot in audit logs (Ashish)


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/9b808155
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/9b808155
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/9b808155

Branch: refs/heads/master
Commit: 9b808155e3ab6968db93fc9543d9f16f7d7ab54c
Parents: 011442e
Author: tedyu <yuzhihong@gmail.com>
Authored: Tue Dec 9 20:40:18 2014 -0800
Committer: tedyu <yuzhihong@gmail.com>
Committed: Tue Dec 9 20:40:18 2014 -0800

----------------------------------------------------------------------
 .../org/apache/hadoop/hbase/security/access/AccessController.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/9b808155/hbase-server/src/main/java/org/apache/hadoop/hbase/security/access/AccessController.java
----------------------------------------------------------------------
diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/security/access/AccessController.java
b/hbase-server/src/main/java/org/apache/hadoop/hbase/security/access/AccessController.java
index 728669c..6f3edd7 100644
--- a/hbase-server/src/main/java/org/apache/hadoop/hbase/security/access/AccessController.java
+++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/security/access/AccessController.java
@@ -1160,7 +1160,7 @@ public class AccessController extends BaseMasterAndRegionObserver
       requirePermission("restoreSnapshot", hTableDescriptor.getTableName(), null, null,
         Permission.Action.ADMIN);
     } else {
-      requirePermission("restore", Action.ADMIN);
+      requirePermission("restoreSnapshot", Action.ADMIN);
     }
   }
 


Mime
View raw message