mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-01-06 20:29:54 -06:00
get rid of /home mount point
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
This commit is contained in:
@@ -220,20 +220,15 @@ func spacesRules(cfg *config.Config, logger log.Logger) map[string]map[string]in
|
||||
|
||||
// generate rules based on default config
|
||||
return map[string]map[string]interface{}{
|
||||
"/home": {
|
||||
"address": cfg.Reva.StorageUsers.Endpoint,
|
||||
"space_type": "personal",
|
||||
"space_owner_self": true,
|
||||
},
|
||||
"/home/Shares": {
|
||||
"address": cfg.Reva.StorageShares.Endpoint,
|
||||
"space_type": "share",
|
||||
"path_template": "/home/Shares/{{.Name}}",
|
||||
},
|
||||
"/users": {
|
||||
"address": cfg.Reva.StorageUsers.Endpoint,
|
||||
"space_type": "personal",
|
||||
"path_template": "/users/{{.Owner.Id.OpaqueId}}",
|
||||
"path_template": "/users/{{.Space.Owner.Id.OpaqueId}}",
|
||||
},
|
||||
"/users/{{.CurrentUser.Id.OpaqueId}}/Shares/{{.Space.Name}}": {
|
||||
"address": cfg.Reva.StorageShares.Endpoint,
|
||||
"space_type": "share",
|
||||
"path_template": "/users/{{.CurrentUser.Id.OpaqueId}}/Shares/{{.Space.Name}}",
|
||||
},
|
||||
// public link storage returns the mount id of the actual storage
|
||||
"/public": {
|
||||
|
||||
Reference in New Issue
Block a user