[TYPO3-core] RFC 15258: Creating multiple pages doesn't consider the group permissions for all pages
Steffen Kamper
info at sk-typo3.de
Fri Jul 30 22:58:04 CEST 2010
Hi,
+1 by reading and testing.
As tcemain is a very sensible class here some more infos:
list($tscPID) = t3lib_BEfunc::getTSCpid($table,$id,$fieldArray['pid']);
this line is used for reading TSconfig from the parent page. only
relevant infos that are read are TCEMAIN.permissions settings.
So intentionally this was meant: use the id of the new record. But then
this should be used: $this->substNEWwithIDs[$old_pid_value] istead of
the string.
But, this is wrong to. in the for-loop all records are on the same
level, they are not child records. So all records have the same pid, and
this is $fieldArray['pid'], $old_pid_value is superfluous, and as it's
used only for this line, i removed it completely with attached patch.
vg Steffen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 15258_v2.diff
Type: text/x-patch
Size: 2127 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100730/b4815598/attachment.bin>
More information about the TYPO3-team-core
mailing list