From f2943fef6f490fe056a4d3222427cf8084557f6d Mon Sep 17 00:00:00 2001 From: provokateurin Date: Fri, 18 Oct 2024 12:13:12 +0200 Subject: [PATCH] feat(GroupMountPoint): Implement IShareOwnerlessMount Signed-off-by: provokateurin --- composer.lock | 8 ++++---- lib/Mount/GroupMountPoint.php | 3 ++- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/composer.lock b/composer.lock index 3faea91f3..b7ae1c6ce 100644 --- a/composer.lock +++ b/composer.lock @@ -71,12 +71,12 @@ "source": { "type": "git", "url": "https://github.com/nextcloud-deps/ocp.git", - "reference": "ae33db114380a6455a2c15b84694b6738555edb8" + "reference": "ab32495bc80457fe5342ad54b7323ea8536d72f7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nextcloud-deps/ocp/zipball/ae33db114380a6455a2c15b84694b6738555edb8", - "reference": "ae33db114380a6455a2c15b84694b6738555edb8", + "url": "https://api.github.com/repos/nextcloud-deps/ocp/zipball/ab32495bc80457fe5342ad54b7323ea8536d72f7", + "reference": "ab32495bc80457fe5342ad54b7323ea8536d72f7", "shasum": "" }, "require": { @@ -108,7 +108,7 @@ "issues": "https://github.com/nextcloud-deps/ocp/issues", "source": "https://github.com/nextcloud-deps/ocp/tree/master" }, - "time": "2024-11-19T00:45:35+00:00" + "time": "2024-11-26T00:46:04+00:00" }, { "name": "psr/clock", diff --git a/lib/Mount/GroupMountPoint.php b/lib/Mount/GroupMountPoint.php index fa72e71f3..4facb1f11 100644 --- a/lib/Mount/GroupMountPoint.php +++ b/lib/Mount/GroupMountPoint.php @@ -8,11 +8,12 @@ use OC\Files\Mount\MountPoint; use OC\Files\Storage\Storage; +use OCP\Files\Mount\IShareOwnerlessMount; use OCP\Files\Mount\ISystemMountPoint; use OCP\Files\Storage\IStorage; use OCP\Files\Storage\IStorageFactory; -class GroupMountPoint extends MountPoint implements ISystemMountPoint { +class GroupMountPoint extends MountPoint implements ISystemMountPoint, IShareOwnerlessMount { public function __construct( private int $folderId, IStorage $storage,