Skip to content

Commit f9193da

Browse files
authored
Update apps_management.rst
Signed-off-by: Duo123418 <[email protected]>
1 parent adcc8b7 commit f9193da

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

admin_manual/apps_management.rst

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,38 @@ By default guest users, when using the guests app, are not notified, to enable n
8181

8282
occ config:app:set --type boolean --value="true" updatenotification app_updated.notify_guests
8383

84+
Enabling apps via occ command
85+
-----------------------------
86+
87+
In addition to managing apps via the web interface, administrators can also enable or disable apps using the `occ` command.
88+
89+
To enable an app, use the following command:
90+
91+
::
92+
93+
occ app:enable <app-id>
94+
95+
For example, to enable the "files" app, run:
96+
97+
::
98+
99+
occ app:enable files
100+
101+
To enable the app for specific groups, use the `--groups` option:
102+
103+
::
104+
105+
occ app:enable files --groups=admin
106+
107+
108+
This command enables the "files" app only for the "admin" group.
109+
110+
To disable an app, use:
111+
112+
::
113+
114+
occ app:disable <app-id>
115+
84116
Using private API
85117
-----------------
86118

0 commit comments

Comments
 (0)