mirror of
https://github.com/HeyPuter/puter.git
synced 2026-05-05 14:40:10 -05:00
fix: missing condition in ownership check
Not sure when this went away, but we were always getting the permission though the file path instead of ID/UUID from what it looks like, which was hiding this problem.
This commit is contained in:
@@ -119,6 +119,10 @@ class FilesystemService extends BaseService {
|
||||
);
|
||||
}
|
||||
|
||||
if ( owner_id === actor.type.user.id ) {
|
||||
return {};
|
||||
}
|
||||
|
||||
return undefined;
|
||||
},
|
||||
}));
|
||||
|
||||
Reference in New Issue
Block a user