fix(auth): export hasAuthorizations [EE-6595] (#11198)

pull/11200/head
Chaim Lev-Ari 2024-02-15 14:05:45 +02:00 committed by GitHub
parent 165d6165dc
commit 95750c2339
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -139,7 +139,7 @@ export function useIsEnvironmentAdmin({
/** /**
* will return true if the user has the authorizations. assumes the user is authenticated and not an admin * will return true if the user has the authorizations. assumes the user is authenticated and not an admin
*/ */
function hasAuthorizations( export function hasAuthorizations(
user: User, user: User,
authorizations: string | string[], authorizations: string | string[],
environmentId?: EnvironmentId environmentId?: EnvironmentId