Skip to content

Commit 5c8a26f

Browse files
committed
HBASE-22580 Add a table attribute to make user scan snapshot feature configurable for table
1 parent a65e72d commit 5c8a26f

File tree

4 files changed

+523
-246
lines changed

4 files changed

+523
-246
lines changed

hbase-server/src/main/java/org/apache/hadoop/hbase/security/access/PermissionStorage.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -508,6 +508,11 @@ public static ListMultimap<String, UserPermission> getNamespacePermissions(Confi
508508
false);
509509
}
510510

511+
public static ListMultimap<String, UserPermission> getGlobalPermissions(Configuration conf)
512+
throws IOException {
513+
return getPermissions(conf, null, null, null, null, null, false);
514+
}
515+
511516
/**
512517
* Reads user permission assignments stored in the <code>l:</code> column family of the first
513518
* table row in <code>_acl_</code>.

0 commit comments

Comments
 (0)