[TYPO3-dev] Rights for Content Elements
Tapio Markula
tapio.markula at atwebteam.com
Thu Apr 12 14:49:41 CEST 2007
Steffen Kamper kirjoitti:
> "Martin Kutschker" <Martin.Kutschker at n0spam-blackbox.net> schrieb im
> Newsbeitrag
> news:mailman.1.1176376322.10573.typo3-dev at lists.netfielders.de...
>> Steffen Kamper schrieb:
>>>> If I remember correctly, he does not have unix utils and therefore cannot
>>>> make patches in unified diff format :(
>>> that's not a problem - if he has an alternative file, i can make a diff.
>> The GNU DiffUtils are available for Windows (as binary).
>>
>> The real point is that Tapio has all his changes put together in a bunch
>> of XLCASS extensions that modify the UI in various ways. It's nearly
>> impossible to extract a single diff.
>>
>> Masi
>
> so Tapio - please make the changes in the original page module available in
> svn, so we can make the diff
in the orginal class.tx_cms_layout.php
// Render control panel for the element:
if ($this->tt_contentConfig['showCommands'] && $this->doEdit) {
adding new condition
if
($GLOBALS['BE_USER']->recordEditAccessInternals('tt_content',$this->tt_contentData['nextThree'][$row['uid']])
&& $this->tt_contentConfig['showCommands'] && $this->doEdit) {
works at least for content types - needs this also for sample text.
Endeed presumably doesn't work if added with hook extra conditions for
alt_doc.php.
More information about the TYPO3-dev
mailing list