protected function _hasPermissions($row, $action)
 {
     if (isset($row->component_id) && $row->component_id != $this->_getParam('componentId')) {
         return false;
     }
     return parent::_hasPermissions($row, $action);
 }
 protected function _hasPermissions($row, $action)
 {
     $ret = parent::_hasPermissions($row, $action);
     if ($ret) {
         if ($row->newsletter_component_id != $this->_getParam('newsletterComponentId')) {
             return false;
         }
     }
     return $ret;
 }
 protected function _hasPermissions($row, $action)
 {
     $ret = Kwf_Controller_Action_Auto_Form::_hasPermissions($row, $action);
     if ($ret) {
         $c = Kwf_Component_Data_Root::getInstance()->getComponentByDbId($this->_getParam('componentId'), array('ignoreVisible' => true, 'limit' => 1));
         if ($row->newsletter_component_id != $c->parent->dbId) {
             return false;
         }
     }
     return $ret;
 }
 protected function _hasPermissions($row, $action)
 {
     $ret = parent::_hasPermissions($row, $action);
     $acl = Zend_Registry::get('acl');
     if ($ret) {
         foreach (Kwf_Component_Data_Root::getInstance()->getComponentsByDbId($row->domain_component_id, array('limit' => 1)) as $d) {
             if (!$acl->getComponentAcl()->isAllowed(Kwf_Registry::get('userModel')->getAuthedUser(), $d)) {
                 $ret = false;
                 break;
             }
         }
     }
     return $ret;
 }