From 63a5700cdf665b047a2bae3c4761ba39dba3363d Mon Sep 17 00:00:00 2001 From: Daniel Kesselberg Date: Wed, 12 Oct 2022 12:07:08 +0200 Subject: [PATCH] Add documentation for occ tag commands Signed-off-by: Daniel Kesselberg --- .../configuration_server/occ_command.rst | 38 +++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/admin_manual/configuration_server/occ_command.rst b/admin_manual/configuration_server/occ_command.rst index b604f188f..3a768f878 100644 --- a/admin_manual/configuration_server/occ_command.rst +++ b/admin_manual/configuration_server/occ_command.rst @@ -40,6 +40,7 @@ occ command Directory * :ref:`command_line_upgrade_label` * :ref:`two_factor_auth_label` * :ref:`disable_user_label` +* :ref:`system_tags_commands_label` * `Debugging`_ .. _http_user_label: @@ -1525,6 +1526,43 @@ Use the following command to enable the user again:: Note that once users are disabled, their connected browsers will be disconnected. + +.. _system_tags_commands_label: + +System Tags +----------- + +List tags:: + + sudo -u www-data php occ tag:list + +Add a tag:: + + sudo -u www-data php occ tag:add + +Edit a tag:: + + sudo -u www-data php occ tag:edit --name --access + +`--name` and `--access` are optional. + +Delete a tag:: + + sudo -u www-data php occ tag:delete + +Access level + +========== ======== ========== +Level Visible¹ Assignable² +========== ======== ========== +public Yes Yes +restricted Yes No +invisible No No +========== ======== ========== + +| ¹ User can see the tag +| ² User can assign the tag to a file + .. _occ_debugging: Debugging