invalidate get-only shares when creator no longer exists (#1482)

Fixes #1480
This commit is contained in:
AppleTheGolden 2026-05-15 21:51:12 +02:00 committed by GitHub
parent 139ef1851e
commit 3b53a228b0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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