mirror of
https://github.com/HeyPuter/puter.git
synced 2026-09-23 21:56:57 +00:00
fix: check if shraed files exist in ll_readshares
This may have been breaking the ability to see directories shared by other users sometimes.
This commit is contained in:
@@ -79,6 +79,7 @@ class LLReadShares extends LLFilesystemOperation {
|
||||
}
|
||||
|
||||
for ( const node of interm_results ) {
|
||||
if ( ! await node.exists() ) continue;
|
||||
if ( ! await svc_acl.check(actor, node, 'see') ) continue;
|
||||
results.push(node);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user