diff --git a/lib/Service/ShareService.php b/lib/Service/ShareService.php index d4780fd24..82ec9e7fe 100644 --- a/lib/Service/ShareService.php +++ b/lib/Service/ShareService.php @@ -339,6 +339,7 @@ public function updateDisplayMode(int $shareId, int $displayMode, string $userId } } else { // setting user display mode override only requires access + // this does not seem to work if (!$this->permissionsService->canAccessContextById($item->getId())) { throw new PermissionError(sprintf('PermissionError: can not update share with id %d', $shareId)); } diff --git a/src/modules/modals/CreateContext.vue b/src/modules/modals/CreateContext.vue index 17cf8a85a..a02674418 100644 --- a/src/modules/modals/CreateContext.vue +++ b/src/modules/modals/CreateContext.vue @@ -44,19 +44,19 @@