When the file storage has been disabled, return an empty list of folders
otherwise inaccessible folders will be listed
Details
Details
- Reviewers
- None
- Group Reviewers
Chwala Developers
Diff Detail
Diff Detail
- Repository
- rC chwala
- Branch
- master
- Lint
No Lint Coverage - Unit
No Test Coverage - Build Status
Buildable 23669 Build 9590: arc lint + arc unit
Event Timeline
Comment Actions
In my case: the kolab was used as backend, the backend storage was disabled and an additional pre-defined source to a seafile server was configured. In the kolab_files folder list the Imap Files Folder always showed up, but couldn't be selected because the backend storage was disabled. This was confusing. When deleted it always got recreated, ether through the autocreate_folders section or kolab_folders plugin.
The best way IMO is to return an empty folder list when the backend_storage is disabled. Otherwise autocreate_folders and the kolab_folders plugin would need to be adjusted (well, they still could be tuned to match the autocreate_folders parameter in kolab.conf ...