tweak: report permission for file shares

This commit is contained in:
KernelDeimos 2024-06-17 22:13:06 -04:00
parent bbf09eb74e
commit 831c29f23b

View File

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