/** * Determines if the current user can edit the content. * * @return bool */ public function canEdit() { //See canView for the logic $this->assertContent(); if (! isset(vB::$vbulletin->userinfo['permissions']['cms'])) { vBCMS_Permissions::getUserPerms(); } return $this->content->canEdit(); }