canEditSiteContent
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
Parameters
Parameter | Type | Default | Notes |
---|---|---|---|
item Required | IItem | ||
user Required | IUser |
Returns
boolean
Function defined in common/src/access/can-edit-site-content.ts:23