You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Allow virtual folders to map to subdirectories within shared storage,
enabling better user isolation and multi-tenant setups.
When configuring a virtual folder, users can now specify a
'virtual_subdirectory' that automatically isolates their access within a
shared storage location. For example, multiple users can share the same
base folder while each accessing their own subdirectory.
Signed-off-by: TEC <git@tecosaur.net>
// Alternative example using virtual_subdirectory for multi-tenant shared storage:
54
+
$virtual_folders['shared_example'] = [
55
+
[
56
+
"name" => "shared-documents",
57
+
"mapped_path" => 'F:\files\shared\documents',
58
+
"virtual_path" => "/documents",
59
+
"virtual_subdirectory" => "#USERNAME#", // Each user gets their own subdirectory
60
+
"quota_size" => 1073741824, // 1GB limit per user
61
+
"quota_files" => 1000
62
+
],
63
+
[
64
+
"name" => "shared-projects",
65
+
"mapped_path" => 'F:\files\shared\projects',
66
+
"virtual_path" => "/projects",
67
+
"virtual_subdirectory" => "#DEPARTMENT#", // Users in same department share space
68
+
"quota_size" => 0, // Unlimited
69
+
"quota_files" => 0
70
+
]
71
+
];
52
72
```
53
73
54
74
## Example Connection "Output Object" Allowing For No Files in the User's Home Directory ("Root Directory") but Allowing for Files in the Public/Private Virtual Folders
0 commit comments