Documentation update for cmd-plugin

Update the Access section on documentation of the cmd-plugin
command to also include config to enable the command.

Change-Id: I815275009494db6ce3027a2705b0056146ba7a0f
This commit is contained in:
David Myllykangas 2015-01-20 16:34:57 +01:00 committed by David Pursehouse
parent 0df53ffac7
commit 511823f835
5 changed files with 15 additions and 5 deletions

View File

@ -15,7 +15,9 @@ the plugin jars in the site path's `plugins` directory from
`<plugin-jar-name>.disabled` to `<plugin-jar-name>`.
== ACCESS
Caller must be a member of the privileged 'Administrators' group.
* Caller must be a member of the privileged 'Administrators' group.
* link:config-gerrit.html#plugins.allowRemoteAdmin[plugins.allowRemoteAdmin]
must be enabled in `$site_path/etc/gerrit.config`.
== SCRIPTING
This command is intended to be used in scripts.

View File

@ -17,7 +17,9 @@ Install/Add a plugin. The plugin will be copied into the site path's
`plugins` directory.
== ACCESS
Caller must be a member of the privileged 'Administrators' group.
* Caller must be a member of the privileged 'Administrators' group.
* link:config-gerrit.html#plugins.allowRemoteAdmin[plugins.allowRemoteAdmin]
must be enabled in `$site_path/etc/gerrit.config`.
== SCRIPTING
This command is intended to be used in scripts.

View File

@ -14,7 +14,9 @@ plugin ls - List the installed plugins.
List the installed plugins and show their version and status.
== ACCESS
Caller must be a member of the privileged 'Administrators' group.
* Caller must be a member of the privileged 'Administrators' group.
* link:config-gerrit.html#plugins.allowRemoteAdmin[plugins.allowRemoteAdmin]
must be enabled in `$site_path/etc/gerrit.config`.
== SCRIPTING
This command is intended to be used in scripts.

View File

@ -19,7 +19,9 @@ E.g. a plugin needs to be reloaded if its configuration is modified to
make the new configuration data become active.
== ACCESS
Caller must be a member of the privileged 'Administrators' group.
* Caller must be a member of the privileged 'Administrators' group.
* link:config-gerrit.html#plugins.allowRemoteAdmin[plugins.allowRemoteAdmin]
must be enabled in `$site_path/etc/gerrit.config`.
== SCRIPTING
This command is intended to be used in scripts.

View File

@ -16,7 +16,9 @@ Disable plugins. The plugins will be disabled by renaming the plugin
jars in the site path's `plugins` directory to `<plugin-jar-name>.disabled`.
== ACCESS
Caller must be a member of the privileged 'Administrators' group.
* Caller must be a member of the privileged 'Administrators' group.
* link:config-gerrit.html#plugins.allowRemoteAdmin[plugins.allowRemoteAdmin]
must be enabled in `$site_path/etc/gerrit.config`.
== SCRIPTING
This command is intended to be used in scripts.