Functionality to map home directory to different storage providers

This commit is contained in:
Ishank Arora
2021-01-29 11:36:31 +01:00
parent a378f259eb
commit 417defdbb9
4 changed files with 19 additions and 1 deletions
+7
View File
@@ -97,6 +97,13 @@ func GatewayWithConfig(cfg *config.Config) []cli.Flag {
EnvVars: []string{"STORAGE_GATEWAY_DISABLE_HOME_CREATION_ON_LOGIN"},
Destination: &cfg.Reva.Gateway.DisableHomeCreationOnLogin,
},
&cli.StringFlag{
Name: "storage-home-mapping",
Value: "",
Usage: "mapping template for user home paths to user-specific mount points",
EnvVars: []string{"STORAGE_GATEWAY_HOME_MAPPING"},
Destination: &cfg.Reva.Gateway.HomeMapping,
},
// other services