Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update2 issues#11549 #12288

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions admin_manual/apps_management.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
-----------------

Expand Down
7 changes: 7 additions & 0 deletions admin_manual/occ_command.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down