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 @@
- {{ t('tables', 'Navigation bar entry') }} + {{ t('tables', 'Navigation bar display') }}
- No navigation bar entry + Hide navigation entry for everybody - Navigation bar entry for share recipients, but not the owner + Show navigation entry for everybody, except me - Navigation bar entry for everybody + Show navigation entry for everybody
diff --git a/src/modules/modals/EditContext.vue b/src/modules/modals/EditContext.vue index 5690ca21f..356a9cfd8 100644 --- a/src/modules/modals/EditContext.vue +++ b/src/modules/modals/EditContext.vue @@ -38,7 +38,24 @@ - +
+
+ {{ t('tables', 'Navigation bar display') }} +
+ + Hide navigation entry for everybody + + + Show navigation entry for everybody, except me + + + Show navigation entry for everybody + +
+
@@ -62,7 +79,7 @@