mirror of
https://github.com/9001/copyparty.git
synced 2026-10-06 08:54:35 +01:00
invalidate get-only shares when creator no longer exists (#1482)
Fixes #1480
This commit is contained in:
@@ -3113,7 +3113,7 @@ class AuthSrv(object):
|
|||||||
|
|
||||||
try:
|
try:
|
||||||
s_vfs, s_rem = vfs.get(
|
s_vfs, s_rem = vfs.get(
|
||||||
s_vp, s_un, "r" in s_pr, "w" in s_pr, "m" in s_pr, "d" in s_pr
|
s_vp, s_un, "r" in s_pr, "w" in s_pr, "m" in s_pr, "d" in s_pr, "g" in s_pr,
|
||||||
)
|
)
|
||||||
except Exception as ex:
|
except Exception as ex:
|
||||||
t = "removing share [%s] by [%s] to [%s] due to %r"
|
t = "removing share [%s] by [%s] to [%s] due to %r"
|
||||||
|
|||||||
Reference in New Issue
Block a user