Update2 issues#11549
This commit is contained in:
Ferdinand Thiessen
2024-11-13 01:03:32 +01:00
committed by GitHub
2 changed files with 39 additions and 0 deletions

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
-----------------

View File

@@ -268,6 +268,13 @@ Enable an app for specific groups of users::
sudo -u www-data php occ app:enable --groups admin --groups sales files_external
files_external enabled for groups: admin, sales
Enable multiple apps simultaneously::
sudo -u www-data php occ app:enable app1 app2 app3
app1 enabled
app2 enabled
app3 enabled
Disable an app::
sudo -u www-data php occ app:disable files_external