access_id = ACCESS_DEFAULT; $vars['entity']->write_access_id = ACCESS_DEFAULT; } else { $vars['entity']->access_id = 0; $vars['entity']->write_access_id = 0; } // Koolielu override $known_page_owner = get_entity($container_guid); if ($known_page_owner && ($known_page_owner instanceof ElggGroup)) { $vars['entity']->access_id = $known_page_owner->group_acl; $vars['entity']->write_access_id = $known_page_owner->group_acl; } } ?>