public function restrictFarmDesignerAccess() { if (!$this->isFarmDesignerAllowed()) { throw new Scalr_Exception_InsufficientPermissions(); } }