[TYPO3-core] RFC: fix bug #2226

Michael Stucki michael at typo3.org
Tue Mar 14 11:16:32 CET 2006


Hi Martin,

> This is a CVS patch request. It introduces a new feature although there is
> feature freeze. Please think twice :-)

I agree the feature makes sense, so ok.

> 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="select" 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.

+1

Michael
-- 
Use a newsreader! Check out
http://typo3.org/community/mailing-lists/use-a-news-reader/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bug_2226_post.diff
Type: text/x-diff
Size: 1054 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20060314/b8c027d9/attachment.bin 


More information about the TYPO3-team-core mailing list