mirror of
https://github.com/9001/copyparty.git
synced 2025-10-03 09:49:29 +02:00
add move/delete permission flags
This commit is contained in:
parent
e3684e25f8
commit
5b0605774c
8 changed files with 249 additions and 196 deletions
|
@ -90,7 +90,7 @@ class TestHttpCli(unittest.TestCase):
|
|||
if not vol.startswith(top):
|
||||
continue
|
||||
|
||||
mode = vol[-2]
|
||||
mode = vol[-2].replace("a", "rw")
|
||||
usr = vol[-1]
|
||||
if usr == "a":
|
||||
usr = ""
|
||||
|
@ -99,7 +99,7 @@ class TestHttpCli(unittest.TestCase):
|
|||
vol += "/"
|
||||
|
||||
top, sub = vol.split("/", 1)
|
||||
vcfg.append("{0}/{1}:{1}:{2}{3}".format(top, sub, mode, usr))
|
||||
vcfg.append("{0}/{1}:{1}:{2},{3}".format(top, sub, mode, usr))
|
||||
|
||||
pprint.pprint(vcfg)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue