mirror of
https://github.com/9001/copyparty.git
synced 2025-08-16 16:42:13 -06:00
fix permission parser so it matches the documentation
This commit is contained in:
parent
d31116b54c
commit
3498644055
|
@ -613,7 +613,7 @@ class AuthSrv(object):
|
|||
if uname == "":
|
||||
uname = "*"
|
||||
|
||||
for un in uname.split(","):
|
||||
for un in uname.replace(",", " ").strip().split():
|
||||
if "r" in lvl:
|
||||
axs.uread[un] = 1
|
||||
|
||||
|
|
|
@ -24,7 +24,8 @@ rw ed
|
|||
r k
|
||||
rw ed
|
||||
|
||||
# this does the same thing:
|
||||
# this does the same thing,
|
||||
# and will cause an error on startup since /priv is already taken:
|
||||
./priv
|
||||
/priv
|
||||
r ed k
|
||||
|
|
Loading…
Reference in a new issue