protected function _hasPermissions($row, $action) { //damit keine gefakte project_id übergeben werden kann //isAllowedComponent schaut ja nur auf componentId $p = $row->getParentRow('Project'); if ($p->component_id != $this->_getParam('componentId')) { return false; } if (!$p->visible) { return false; } return parent::_hasPermissions($row, $action); }