mirror of
https://github.com/HeyPuter/puter
synced 2024-11-14 22:06:00 +00:00
tweak: report permission for file shares
This commit is contained in:
parent
bbf09eb74e
commit
831c29f23b
@ -414,7 +414,13 @@ const v0_2 = async (req, res) => {
|
||||
// reported on recipients instead.
|
||||
for ( const item of fsitems_work.list() ) {
|
||||
result.paths[item.i] =
|
||||
{ $: 'api:status-report', status: 'success' };
|
||||
{
|
||||
$: 'api:status-report',
|
||||
status: 'success',
|
||||
fields: {
|
||||
permission: item.permission,
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
if ( strict_check() ) return;
|
||||
|
Loading…
Reference in New Issue
Block a user