getChannelAccess

Function

Determines the given channel's access, supporting both legacy permissions and V2 ACL model.

Parameters

Parameter Type Default Notes
channel Required IChannel

An IChannel record

Returns

public, org or private

Property Type Notes
ORG "org"
PRIVATE "private"
PUBLIC "public"

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