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
1 changed files with 11 additions and 3 deletions

View File

@ -296,7 +296,10 @@
Access control mechanisms are mature and fairly standardized in the relational database world. The HBase implementation approximates current convention, but HBase has a simpler feature set than relational databases, especially in terms of client operations. We don't distinguish between an insert (new record) and update (of existing record), for example, as both collapse down into a Put. Accordingly, the important operations condense to four permissions: READ, WRITE, CREATE, and ADMIN.
</para>
<table>
<title>Operation To Permission Mapping</title>
<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>