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