Andrew Purtell created HBASE-11001: -------------------------------------- Summary: Shell support for granting cell permissions Key: HBASE-11001 URL: https://issues.apache.org/jira/browse/HBASE-11001 Project: HBase Issue Type: Improvement Reporter: Andrew Purtell Assignee: Andrew Purtell Fix For: 0.99.0, 0.98.2
For testing purposes it would be useful if the shell can support a simple syntax for adding cell ACLs to existing cells. Consider a combination of current 'grant' and 'scan' commands. {noformat} grant '<userOrGroup>', '<perms>', '[<ns>:]<table>', { ... } {noformat} where the last argument is a scanner specification, for example: \\ \\ - { COLUMNS => 'c1', STARTROW => 'abc', ENDROW => 'xyz' } - { COLUMNS => 'c1', TIMERANGE => [123, 456] } - { COLUMNS => ['c1', 'c2'], FILTER => "(PrefixFilter ('foo') AND (QualifierFilter (=, 'bar:'))) AND (TimestampsFilter (123, 456))" } -- This message was sent by Atlassian JIRA (v6.2#6252)