Index: class.tx_cms_layout.php =================================================================== --- class.tx_cms_layout.php (revision 2253) +++ class.tx_cms_layout.php (working copy) @@ -1546,7 +1546,9 @@ $this->getProcessedValue('tt_content','hidden,starttime,endtime,fe_group,spaceBefore,spaceAfter,section_frame,sectionIndex,linkToTop',$row,$info); // Render control panel for the element: - if ($this->tt_contentConfig['showCommands'] && $this->doEdit) { + //additional Accesscheck - if no access there will be no control panel + if ($GLOBALS['BE_USER']->recordEditAccessInternals('tt_content',$this->tt_contentData['nextThree'][$row['uid']]) + && $this->tt_contentConfig['showCommands'] && $this->doEdit) { // Start control cell: $out.= ' @@ -2161,7 +2163,9 @@ $this->counter++; // The icon with link - $theIcon = $GLOBALS['SOBE']->doc->wrapClickMenuOnIcon($iconImg,$table,$row['uid']); + //additional Accesscheck - if no access there will be no click menu + $theIcon = $GLOBALS['SOBE']->doc->wrapClickMenuOnIcon($iconImg,$table, + $GLOBALS['BE_USER']->recordEditAccessInternals('tt_content',$this->tt_contentData['nextThree'][$row['uid']])? $row['uid'] : 0); return $theIcon; }