mirror of
https://github.com/9001/copyparty.git
synced 2025-08-17 09:02:15 -06:00
fix --cgen for 'g' perms
This commit is contained in:
parent
7e2ff9825e
commit
d7f1951e44
|
@ -1684,10 +1684,10 @@ class AuthSrv(object):
|
|||
for _, uname in sorted(lusers):
|
||||
pstr = ""
|
||||
for pchar, pkey in perms.items():
|
||||
if pchar == "g" and "G" in perms:
|
||||
continue
|
||||
if uname in getattr(vol.axs, pkey):
|
||||
pstr += pchar
|
||||
if "g" in pstr and "G" in pstr:
|
||||
pstr = pstr.replace("g", "")
|
||||
try:
|
||||
vperms[pstr].append(uname)
|
||||
except:
|
||||
|
|
Loading…
Reference in a new issue