Changes

Jump to navigation Jump to search
25 bytes removed ,  20:39, 18 July 2022
no edit summary
This article is part of the [[Advanced User's Guide]]. The user management defines which permissions are required by a user to perform a database command or XQuery expression.
Permissions are mostly relevant in the client/server architecture, as the [[GUI]] and the [[Command-Line Client]] is run with admin permissions. There are a few exceptions such as the [[{{Function|XQuery Module#xquery:eval|xquery:eval]] }} function: Its execution scope can also be limited by specifying a permission.
Please take care of usual security measures: ensure that your password will not end up in your bash history, avoid sending passwords via ordinary REST requests, etc.
and override global permissions.
[[File:perms.png|none|thumb|403px|Permissions hierarchy]]
User names must follow the [[Valid Names|valid names constraints]], and the database patterns must follow the [[Commands#Glob_Syntax|Glob Syntax]].
'''Create user 'test' with no permissions:'''
<code>dbuser:create('test', 'top-secret')</code>
'''Show detailed information about user 'test':'''
Bureaucrats, editor, reviewer, Administrators
13,554

edits

Navigation menu