DOC: Fix Permission Mapping table layout and grant/revoke optional args

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1484972 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
mbertozzi 2013-05-21 21:33:33 +00:00
parent 76c35afd09
commit 3f713a1078

View File

@ -297,6 +297,9 @@ Access control mechanisms are mature and fairly standardized in the relational d
</para>
<table>
<title>Operation To Permission Mapping</title>
<tgroup cols='2' align='left' colsep='1' rowsep='1'>
<colspec colname='c1' align='center'/>
<colspec colname='c2' align='left'/>
<thead>
<row>
<entry>Permission</entry>
@ -364,6 +367,10 @@ Access control mechanisms are mature and fairly standardized in the relational d
<entry>Admin</entry>
<entry>Enable/Disable</entry>
</row>
<row>
<entry></entry>
<entry>Snapshot/Restore/Clone</entry>
</row>
<row>
<entry></entry>
<entry>Split</entry>
@ -385,6 +392,7 @@ Access control mechanisms are mature and fairly standardized in the relational d
<entry>Shutdown</entry>
</row>
</tbody>
</tgroup>
</table>
<para>
Permissions can be granted in any of the following scopes, though
@ -468,7 +476,7 @@ The HBase shell has been extended to provide simple commands for editing and upd
Grant
<para>
<programlisting>
grant &lt;user&gt; &lt;permissions&gt; &lt;table&gt; [ &lt;column family&gt; [ &lt;column qualifier&gt; ] ]
grant &lt;user&gt; &lt;permissions&gt; [ &lt;table&gt; [ &lt;column family&gt; [ &lt;column qualifier&gt; ] ] ]
</programlisting>
</para>
<para>
@ -482,7 +490,7 @@ The HBase shell has been extended to provide simple commands for editing and upd
</para>
<para>
<programlisting>
revoke &lt;user&gt; &lt;table&gt; [ &lt;column family&gt; [ &lt;column qualifier&gt; ] ]
revoke &lt;user&gt; [ &lt;table&gt; [ &lt;column family&gt; [ &lt;column qualifier&gt; ] ] ]
</programlisting>
</para>
<para>