canEditSite
Checks if user has access to edit site in Hub Currently, Hub Home sites are not editable In initiative context, check is delegated to canEditItem for the initiative site item
Parameters
Parameter | Type | Default | Notes |
---|---|---|---|
model Required | IItem | ||
user Required | IUser |
Returns
boolean
Function defined in common/src/access/can-edit-site.ts:14