[TYPO3-core] RFC: fix bug #2226

Martin Kutschker Martin.Kutschker at blackbox.net
Sun Mar 12 20:03:45 CET 2006


Hi!

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

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).

Issues:

* You cannot modify exclusiveKeys via a user function. But that's true for other features of a field.

* The key list is comma separtated without a way to escape commas. But I think this is no problem as those lists are used everywhere and AFAIK TYPO3 doesn't cope with commas in keys, so they are forbidden anyway.

Masi 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/x-patch
Size: 5023 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20060312/b673fadd/attachment.bin 


More information about the TYPO3-team-core mailing list