invalidate get-only shares when creator no longer exists

Fixes #1480
This commit is contained in:
AppleTheGolden 2026-05-15 21:46:02 +02:00
parent 139ef1851e
commit 9abb8a0e80
No known key found for this signature in database
GPG key ID: F6AC8A62154C42AA

View file

@ -3113,7 +3113,7 @@ class AuthSrv(object):
try:
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:
t = "removing share [%s] by [%s] to [%s] due to %r"