elgg_trigger_plugin_hook('permissions_check', $this->type, ...) is already included in ElggEntity class. Is there a reason to override canEdit() instead of just registering a plugin hook handler?