Changes

Jump to navigation Jump to search
91 bytes removed ,  00:38, 6 May 2011
no edit summary
==User Management==
<p>Admin permissions are needed to execute one of the following processes.</p>
===Creating user 'test' with password 'test'===
<code>&gt; CREATE USER test test</code>
<p>As global permissions, you can set 'none', 'read', 'write', 'create' and 'admin':</p>
===Revoking all global permissions from user 'test'===
<code>&gt; GRANT none TO test</code>
<p>Valid local permissions are 'none', 'read' and 'write':</p>
===Granting write permission on database 'factbook' to user 'test'===
<code>&gt; GRANT write ON factbook TO test</code>
<p>
Note: Local permissions overwrite global permissions.
As a consequence, the 'test' user will only be allowed to
If no local permissions are set, the global rights are
inherited.
</p>
===Showing global permissions===
<code>&gt; DROP USER test</code>
==Permissions hierarchy==
In the permission hierarchy the higher permission contains all underlying rights.
[[File:perms.png|none|thumb|200px|Permissions hierarchy]]
==Commands and Command Permissions table==
In this table you can see an overview about the BaseX commands and the
an error is thrown and the command will not be executed.
{| borderclass="1" cellpadding="5" cellspacing="0wikitable"
!Command
!Description
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu