canEditItem

Function

Checks if user has access to edit an item in Hub

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

Parameters

Parameter Type Default Notes
item Required IItem
user Required IUser

Returns

boolean

Function defined in common/src/access/can-edit-item.ts:12