mirror of
https://github.com/HeyPuter/puter.git
synced 2026-05-29 12:50:59 +00:00
tweak: report permission for file shares
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user