Setting Features from CLI#
In this section we describe a few commands to query of modify the availability of some Carbonio 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.
The following attributes are available, that control if the feature is available to a user or COS.
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 |
|
|
The Carbonio Chats component is enabled |
|
|
The Carbonio Chats component is available on mobile apps |
|
|
The Settings module is available to a user |
|
|
The User/COS can restore single items from Carbonio Backup if they were deleted at most 7 days before |
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
-
Disable the Carbonio Chats Component in COS called noChat
zextras$ carbonio prov modifyCos noChat carbonioFeatureTeamEnabled FALSE
-
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.