]> source.dussan.org Git - nextcloud-server.git/commit
Add storage priority support
authorRobin McCorkell <rmccorkell@karoshi.org.uk>
Fri, 28 Mar 2014 14:24:38 +0000 (14:24 +0000)
committerRobin McCorkell <rmccorkell@karoshi.org.uk>
Wed, 21 May 2014 21:17:21 +0000 (22:17 +0100)
commit05642733a365cd150dd9ebb3b7cf7ec9c55ecab3
treef2120255a38e63067d004f7996efab6b850d5000
parent14a953fbe01a3d26e1330ea224ab71928a2f93c1
Add storage priority support

Each storage backend has a default priority, assigned to any system mounts
created in ownCloud. mount.json can be manually modified to change these
priorities.

The priority order is as follows:
 * Personal
 * User
 * Group
 * Global

Within each mount type, the mount with the highest priority is active.

The storage backend defaults were chosen to be the following:
 * Local - 150
 * Remote storage - 100
 * SMB / CIFS with OC login - 90
apps/files_external/appinfo/app.php
apps/files_external/lib/config.php