HBASE-13006 Document visibility label support for groups. (Jerry He)
This commit is contained in:
parent
e283a210e6
commit
78a55ac71a
|
@ -20,12 +20,13 @@ module Shell
|
|||
class ClearAuths < Command
|
||||
def help
|
||||
return <<-EOF
|
||||
Add a set of visibility labels for an user that has to removed
|
||||
Syntax : clear_auths 'user1',[label1, label2]
|
||||
Clear visibility labels from a user or group
|
||||
Syntax : clear_auths 'user',[label1, label2]
|
||||
|
||||
For example:
|
||||
|
||||
hbase> clear_auths 'user1', ['SECRET','PRIVATE']
|
||||
hbase> clear_auths '@group1', ['SECRET','PRIVATE']
|
||||
EOF
|
||||
end
|
||||
|
||||
|
|
|
@ -20,12 +20,13 @@ module Shell
|
|||
class GetAuths < Command
|
||||
def help
|
||||
return <<-EOF
|
||||
Get the visibility labels set for a particular user
|
||||
Syntax : get_auths 'user1'
|
||||
Get the visibility labels set for a particular user or group
|
||||
Syntax : get_auths 'user'
|
||||
|
||||
For example:
|
||||
|
||||
hbase> get_auths 'user1'
|
||||
hbase> get_auths '@group1'
|
||||
EOF
|
||||
end
|
||||
|
||||
|
|
|
@ -20,12 +20,13 @@ module Shell
|
|||
class SetAuths < Command
|
||||
def help
|
||||
return <<-EOF
|
||||
Add a set of visibility labels for an user
|
||||
Syntax : set_auths 'user1',[label1, label2]
|
||||
Add a set of visibility labels for a user or group
|
||||
Syntax : set_auths 'user',[label1, label2]
|
||||
|
||||
For example:
|
||||
|
||||
hbase> set_auths 'user1', ['SECRET','PRIVATE']
|
||||
hbase> set_auths '@group1', ['SECRET','PRIVATE']
|
||||
EOF
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue