Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/processone/ejabberd.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBadlop <badlop@process-one.net>2020-01-27 15:00:08 +0300
committerBadlop <badlop@process-one.net>2020-04-02 13:56:36 +0300
commitf6d102f5e22d01652f884b8c26fb4b4946d38a37 (patch)
tree1f65a754f07fd27bca7ca3a5334fb990713d0b50
parent05b68764ccd1b0865bdf8f58486904fd45ca21d1 (diff)
Quick document with forward link api_permissions
-rw-r--r--src/ejabberd_options_doc.erl7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/ejabberd_options_doc.erl b/src/ejabberd_options_doc.erl
index bca21ba8f..a875ca14a 100644
--- a/src/ejabberd_options_doc.erl
+++ b/src/ejabberd_options_doc.erl
@@ -300,6 +300,13 @@ doc() ->
"'sasl_anon' means that the SASL Anonymous method will be used. "
"'both' means that SASL Anonymous and login anonymous are both "
"enabled. The default value is 'sasl_anon'.")}},
+ {api_permissions,
+ #{value => "[Permission, ...]",
+ desc =>
+ ?T("Define the permissions for API access. Please consult the "
+ "ejabberd Docs web -> For Developers -> ejabberd ReST API -> "
+ "https://docs.ejabberd.im/developer/ejabberd-api/permissions/"
+ "[API Permissions].")}},
{append_host_config,
#{value => "{Host: Options}",
desc =>