(type: CredentialType)
| 21 | |
| 22 | /** Whether a credential is shared at the workspace level (i.e. not a personal env var). */ |
| 23 | export function isSharedCredentialType(type: CredentialType): boolean { |
| 24 | return type !== 'env_personal' |
| 25 | } |
| 26 | |
| 27 | /** |
| 28 | * Whether a user is an admin of a credential: an explicit credential-member admin, |
no outgoing calls
no test coverage detected