[TYPO3-dev] Rights for Content Elements

Steffen Kamper steffen at dislabs.de
Thu Apr 12 19:11:32 CEST 2007


"Tapio Markula" <tapio.markula at atwebteam.com> schrieb im Newsbeitrag 
news:mailman.1.1176385548.939.typo3-dev at lists.netfielders.de...
> 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.
> Endeed presumably doesn't work if added with hook extra conditions for
> alt_doc.php.
>
>
> In addition need to
> 1) Disable contextual menu!
> 2) Disable link from header
> 3) Disable link from sample texts
>
> Done in evaluation version of my plugin. Relative easy to change
> in core file. Have Dmitry remembered those too?

Hi Tapio,

thx, this works, i tested it. Now I try to look for context menu, i will 
make a dff at least and give it to bugtracker.

vg  Steffen






More information about the TYPO3-dev mailing list