[TYPO3-core] RFC: fix bug #2226

Martin Kutschker Martin.Kutschker at blackbox.net
Sat Mar 18 15:56:15 CET 2006


Michael Stucki <michael at typo3.org> writes on 
Tue, 14 Mar 2006 11:16:32 +0100 (MET):

>
> > Problem: the new multi-FE group access rights have a serious UI
> > issue. It's first two options are exclude any other key, but the
> > user may select any combination of the keys.
> >
> > Solution: Add a TCA config "exclusiveKeys" to typeÿelect" which
> > takes a comma seprated list of items keys that exclude other keys.
> > Change the JS of the form handling (t3lib_tceforms) to honour this
> > field. Change the form submission handling (t3lib_tcemain) to
> > enforce it (in case the JS fails for some reason).
>
> Patch comments:
>
> - Don't forget to wrap if/else in {} brackets all the time!
> - Please rename "exclValues" to "exclusiveValues" for making clean
> that these are not "excluded values".
> - You forgot to add the TCA settings to make use of this change! See
> attached patch
> - I didn't look at the JS code in detail. Tested it in Firefox, Opera
> and Konqueror. Please make sure it works in IE as well.


Patch with these changes is attached (with your patch for conveniene). The code works with IE.

Please approve the code or devise a better method for the problem. I really think it's serious (UI matters).

Masi 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/x-patch
Size: 5055 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20060318/f5b8c177/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/x-diff
Size: 1054 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20060318/f5b8c177/attachment-0001.bin 


More information about the TYPO3-team-core mailing list