getChannelGroupIds

Function

Returns an array of group ids configured for the channel, supporting both legacy permissions and V2 ACL model.

  • getChannelGroupIds(channel: IChannel) : string[]

Parameters

Parameter Type Default Notes
channel Required IChannel

An IChannel record

Returns

an array of group ids for the given channel

string[]

Function defined in common/src/discussions/utils.ts:130