canEditSiteContent

Function

Checks if user has access to content library in Hub In Hub Home context, user access requires additional privileges In initiative context, check is delegated to canEditItem for the initiative site item

  • canEditSiteContent(item: IItem, user: IUser) : boolean

Parameters

Parameter Type Default Notes
item Required IItem
user Required IUser

Returns

boolean

Function defined in packages/common/src/access/can-edit-site-content.ts:23