From 06b27d0a42caaefd4536a5f78c5fcbedbb9bd535 Mon Sep 17 00:00:00 2001 From: Sachin Chaurasiya Date: Tue, 24 May 2022 13:02:27 +0530 Subject: [PATCH] Fix #5110 UI : Hide bots link from setting dropdown if user is not an admin (#5113) --- .../src/main/resources/ui/src/constants/constants.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openmetadata-ui/src/main/resources/ui/src/constants/constants.ts b/openmetadata-ui/src/main/resources/ui/src/constants/constants.ts index c0e5584635e..da16dbd1966 100644 --- a/openmetadata-ui/src/main/resources/ui/src/constants/constants.ts +++ b/openmetadata-ui/src/main/resources/ui/src/constants/constants.ts @@ -375,7 +375,7 @@ export const navLinkDevelop = [ ]; export const navLinkSettings = [ - { name: 'Bots', to: '/bots', disabled: false }, + { name: 'Bots', to: '/bots', disabled: false, isAdminOnly: true }, { name: 'Glossaries', to: '/glossary', disabled: false }, { name: 'Roles', to: '/roles', disabled: false, isAdminOnly: true }, { name: 'Services', to: '/services', disabled: false },