diff --git a/package-lock.json b/package-lock.json index 615f17371..c30e95d50 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@devtron-labs/devtron-fe-common-lib", - "version": "0.5.0-patch-1", + "version": "0.5.0-patch-2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@devtron-labs/devtron-fe-common-lib", - "version": "0.5.0-patch-1", + "version": "0.5.0-patch-2", "license": "ISC", "dependencies": { "@types/react-dates": "^21.8.6", diff --git a/package.json b/package.json index 49ed6390c..2e0224fc2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@devtron-labs/devtron-fe-common-lib", - "version": "0.5.0-patch-1", + "version": "0.5.0-patch-2", "description": "Supporting common component library", "type": "module", "main": "dist/index.js", diff --git a/src/index.ts b/src/index.ts index 57d0183d5..92f1d228a 100644 --- a/src/index.ts +++ b/src/index.ts @@ -76,6 +76,12 @@ export interface customEnv { SYSTEM_CONTROLLER_LISTING_TIMEOUT?: number FEATURE_STEP_WISE_LOGS_ENABLE?: boolean FEATURE_IMAGE_PROMOTION_ENABLE?: boolean + /** + * If true, the direct permissions are hidden for non-super admins in user permissions + * + * @default false + */ + FEATURE_HIDE_USER_DIRECT_PERMISSIONS_FOR_NON_SUPER_ADMINS?: boolean } declare global { interface Window {