feat: removed user paywall for user management and fixed a type error

This commit is contained in:
=
2025-03-11 16:03:39 +05:30
parent 872a3fe48d
commit 719a18c218
3 changed files with 3 additions and 16 deletions
@@ -2567,6 +2567,8 @@ export const secretV2BridgeServiceFactory = ({
type: SecretType.Shared
});
if (!secret) throw new NotFoundError({ message: `Secret with name '${secretName}' not found` });
throwIfMissingSecretReadValueOrDescribePermission(permission, ProjectPermissionSecretActions.DescribeSecret, {
environment,
secretPath,
@@ -2574,7 +2576,7 @@ export const secretV2BridgeServiceFactory = ({
secretTags: (secret?.tags || []).map((el) => el.slug)
});
const decryptedSecretValue = secret.encryptedValue
const decryptedSecretValue = secret?.encryptedValue
? secretManagerDecryptor({ cipherTextBlob: secret.encryptedValue }).toString()
: "";