Update apps_management.rst

Signed-off-by: Duo123418 <148443179+Duo123418@users.noreply.github.com>
This commit is contained in:
Duo123418
2024-10-16 20:25:17 +11:00
committed by GitHub
parent adcc8b78eb
commit f9193dae1b

View File

@@ -81,6 +81,38 @@ By default guest users, when using the guests app, are not notified, to enable n
occ config:app:set --type boolean --value="true" updatenotification app_updated.notify_guests
Enabling apps via occ command
-----------------------------
In addition to managing apps via the web interface, administrators can also enable or disable apps using the `occ` command.
To enable an app, use the following command:
::
occ app:enable <app-id>
For example, to enable the "files" app, run:
::
occ app:enable files
To enable the app for specific groups, use the `--groups` option:
::
occ app:enable files --groups=admin
This command enables the "files" app only for the "admin" group.
To disable an app, use:
::
occ app:disable <app-id>
Using private API
-----------------