diff --git a/app/react/hooks/useUser.tsx b/app/react/hooks/useUser.tsx index 30d4257e5..99e552b8c 100644 --- a/app/react/hooks/useUser.tsx +++ b/app/react/hooks/useUser.tsx @@ -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 */ -function hasAuthorizations( +export function hasAuthorizations( user: User, authorizations: string | string[], environmentId?: EnvironmentId