diff --git a/lib/Service/ExFilesActionsMenuService.php b/lib/Service/ExFilesActionsMenuService.php index c568297a..19297e73 100644 --- a/lib/Service/ExFilesActionsMenuService.php +++ b/lib/Service/ExFilesActionsMenuService.php @@ -157,7 +157,13 @@ public function handleFileAction(string $userId, string $appId, string $fileActi 'mtime' => $actionFile['mtime'], 'size' => $actionFile['size'], 'favorite' => $actionFile['favorite'] ?? "false", - 'permissions' => $actionFile['permissions'] + 'permissions' => $actionFile['permissions'], + 'shareOwner' => $actionFile['shareOwner'] ?? null, + 'shareOwnerId' => $actionFile['shareOwnerId'] ?? null, + 'shareTypes' => $actionFile['shareTypes'] ?? null, + 'shareAttributes' => $actionFile['shareAttributes'] ?? null, + 'sharePermissions' => $actionFile['sharePermissions'] ?? null, + 'userId' => $userId, ], ]; $exApp = $this->appEcosystemV2Service->getExApp($appId); diff --git a/src/filesplugin.js b/src/filesplugin.js index 7b2903a4..f9be917f 100644 --- a/src/filesplugin.js +++ b/src/filesplugin.js @@ -36,6 +36,11 @@ state.fileActions.forEach(fileAction => { fileType: file.dataset.type, size: file.dataset.size, mtime: file.dataset.mtime, + shareTypes: file.dataset?.shareTypes, + shareAttributes: file.dataset?.shareAttributes, + sharePermissions: file.dataset?.sharePermissions, + shareOwner: file.dataset?.shareOwner, + shareOwnerId: file.dataset?.shareOwnerId, }, }).then((response) => { console.debug('response', response)