mirror of
https://github.com/9001/copyparty.git
synced 2026-01-06 19:45:40 +10:00
warn on invalid idp-volume mapping
This commit is contained in:
@@ -6,11 +6,11 @@
|
||||
idp-h-grp: x-idp-group
|
||||
|
||||
[/vu/${u}]
|
||||
/
|
||||
/u${u}
|
||||
accs:
|
||||
r: ${u}
|
||||
|
||||
[/vg/${g}]
|
||||
/b
|
||||
/g${g}
|
||||
accs:
|
||||
r: @${g}
|
||||
|
||||
@@ -121,6 +121,8 @@ class TestVFS(unittest.TestCase):
|
||||
self.assertNodes(au.vfs.nodes["vg"], ["iga"])
|
||||
self.assertApEq(au.vfs.nodes["vu"].realpath, "")
|
||||
self.assertApEq(au.vfs.nodes["vg"].realpath, "")
|
||||
self.assertApEq(au.vfs.nodes["vu"].nodes["iua"].realpath, "/uiua")
|
||||
self.assertApEq(au.vfs.nodes["vg"].nodes["iga"].realpath, "/giga")
|
||||
self.assertAxs(au.vfs.axs, [])
|
||||
self.assertAxsAt(au, "vu/iua", [["iua"]]) # same as:
|
||||
self.assertAxs(self.nav(au, "vu/iua").axs, [["iua"]])
|
||||
|
||||
Reference in New Issue
Block a user