canEditEvent

Function

Checks if user has access to edit an event in Hub

Parameters

Parameter Type Default Notes
model Required IEventModel

consolidated event model as consumed by Hub, contains the event feature, related initiative model, and attendees group

user Required IUser

Returns

boolean

Function defined in common/src/access/can-edit-event.ts:19