import { WEAVO_ANALYTICS_SHOW_ACCOUNT } from '@/modules/@common/acl/constants';

import { hasPermission } from '@/modules/@common/user/helpers';

export const canSelectAccount = (userPermissions) => hasPermission(WEAVO_ANALYTICS_SHOW_ACCOUNT, userPermissions);

export default canSelectAccount;
