diff --git a/admin_manual/apps_management.rst b/admin_manual/apps_management.rst index eb454469f..b37e0071b 100644 --- a/admin_manual/apps_management.rst +++ b/admin_manual/apps_management.rst @@ -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 + +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 + Using private API ----------------- diff --git a/admin_manual/occ_command.rst b/admin_manual/occ_command.rst index 2f6e85427..d9841b6ab 100644 --- a/admin_manual/occ_command.rst +++ b/admin_manual/occ_command.rst @@ -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