diff --git a/lib/Service/ShareService.php b/lib/Service/ShareService.php index a6b7a2030..a34a1b4d5 100644 --- a/lib/Service/ShareService.php +++ b/lib/Service/ShareService.php @@ -334,6 +334,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 1d5571c72..3c5e695c9 100644 --- a/src/modules/modals/CreateContext.vue +++ b/src/modules/modals/CreateContext.vue @@ -41,19 +41,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 70d284b1a..18b3e28e7 100644 --- a/src/modules/modals/EditContext.vue +++ b/src/modules/modals/EditContext.vue @@ -35,7 +35,24 @@ - +
+
+ {{ t('tables', 'Navigation bar display') }} +
+ + Hide navigation entry for everybody + + + Show navigation entry for everybody, except me + + + Show navigation entry for everybody + +
+
@@ -59,7 +76,7 @@