From 045ed0024a7adf44178d78995166434fdbc4a313 Mon Sep 17 00:00:00 2001 From: Raju Udava <86527202+dstala@users.noreply.github.com> Date: Fri, 3 Jun 2022 19:25:57 +0530 Subject: [PATCH] fix: disable api docs access for viewer role Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> --- .../nc-gui/components/ProjectTreeView.vue | 22 ++++++++++--------- packages/nc-gui/helpers/rolePermissionsEE.js | 3 ++- 2 files changed, 14 insertions(+), 11 deletions(-) diff --git a/packages/nc-gui/components/ProjectTreeView.vue b/packages/nc-gui/components/ProjectTreeView.vue index eedd1e075f..dda35fa017 100644 --- a/packages/nc-gui/components/ProjectTreeView.vue +++ b/packages/nc-gui/components/ProjectTreeView.vue @@ -681,16 +681,18 @@ -
- - mdi-open-in-new - - {{ $t('title.apiDocs') }} -
+