canCreateChannel

Function

Utility to determine if User has privileges to create a channel with the defined permissions

Parameters

Parameter Type Default Notes
channel Required IChannel
user Optional IUser | IDiscussionsUser {}

Returns

boolean

Function defined in discussions/src/utils/channels/can-create-channel.ts:15