fix permission parser so it matches the documentation

This commit is contained in:
ed 2021-11-06 03:09:03 +01:00
parent d31116b54c
commit 3498644055
2 changed files with 3 additions and 2 deletions

View file

@ -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

View file

@ -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