Setting Features from CLI#
In this section we describe the syntax of commands to query of modify the availability of some Carbonio CE component at COS or account level via the CLI, and therefore is the counterpart of Carbonio Admin Panel sections COS / features and Domains / Accounts / Edit.
We use a few available attributes:
Attribute |
Default |
Feature Description |
|
|
The Mails component is available on mobile apps |
|
|
The Carbonio Files component is available |
|
|
The Carbonio Files component is available mobile apps |
In order to modify these values, you can use or adapt the following commands
-
Disable the Mails App for account johnsmith@acme.example.
zextras$ carbonio prov modifyAccount johnsmith@acme.example carbonioFeatureMailsAppEnabled FALSE
-
Check whether the Carbonio Files component is enabled in COS default.
zextras$ carbonio prov getCos default carbonioFeatureFilesEnabled #name default carbonioFeatureFilesEnabled: TRUE
-
The Settings module is available by default to all users; to hide it and prevent a user to access it, use the command
zextras$ carbonio prov ma user@example.com zimbraFeatureOptionsEnabled FALSE
To show it again to the user, replace FALSE with TRUE in the command.