From 154ea9e55d280aa586adf271890f31769f069d1b Mon Sep 17 00:00:00 2001 From: Scott Wilson Date: Wed, 16 Oct 2024 08:56:27 -0700 Subject: [PATCH] fix: correct delete secret UI permission check with path included --- backend/src/ee/services/license/license-fns.ts | 2 +- .../components/SecretOverviewTableRow/SecretEditRow.tsx | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/backend/src/ee/services/license/license-fns.ts b/backend/src/ee/services/license/license-fns.ts index 7a1632f93..fa67b72d1 100644 --- a/backend/src/ee/services/license/license-fns.ts +++ b/backend/src/ee/services/license/license-fns.ts @@ -21,7 +21,7 @@ export const getDefaultOnPremFeatures = (): TFeatureSet => ({ secretVersioning: true, pitRecovery: false, ipAllowlisting: false, - rbac: true, + rbac: false, customRateLimits: false, customAlerts: false, auditLogs: false, diff --git a/frontend/src/views/SecretOverviewPage/components/SecretOverviewTableRow/SecretEditRow.tsx b/frontend/src/views/SecretOverviewPage/components/SecretOverviewTableRow/SecretEditRow.tsx index db468095e..62952b5fe 100644 --- a/frontend/src/views/SecretOverviewPage/components/SecretOverviewTableRow/SecretEditRow.tsx +++ b/frontend/src/views/SecretOverviewPage/components/SecretOverviewTableRow/SecretEditRow.tsx @@ -205,7 +205,12 @@ export const SecretEditRow = ({ {(isAllowed) => (