canUserCreateTeamInProduct

Function

Predicate for filtering group templates based on product and user privs required. Param order is optimized for partial application

Parameters

Parameter Type Default Notes
user Required IUser
product Required HubProduct

basic, premium, portal

template Required IGroupTemplate

Team (group) template

Returns

boolean

Function defined in teams/src/utils/can-user-create-team-in-product.ts:15