canEditSite

Function

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

  • canEditSite(model: IItem, user: IUser) : boolean

Parameters

Parameter Type Default Notes
model Required IItem
user Required IUser

Returns

boolean

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