Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem
When using the resize to update functionality the access checks are hard-coded to only work with nodes unless you allow users to update ALL content.
if (!empty($entity) && ((user_access('administer content')
|| user_access('update any fullcalendar event')
|| user_access('edit any ' . $entity->bundle . ' content')
|| (user_access('edit own ' . $entity->bundle . ' content') && $entity->uid == $user->uid)))) {
return TRUE;
}
Solution
Use the entity_access() function so that access works with all entities.