Bug #15114 » 0001678-lang_limit_move.patch
t3lib/class.t3lib_tcemain.php (Arbeitskopie) | ||
---|---|---|
$destPid = $resolvedPid;
|
||
}
|
||
// Checking if there is anything else disallowing edit
|
||
$editAccess = $this->BE_USER->recordEditAccessInternals($table,$uid);
|
||
// Timestamp field:
|
||
$updateFields = array();
|
||
if ($TCA[$table]['ctrl']['tstamp']) {
|
||
... | ... | |
// If moving is allowed, begin the processing:
|
||
if (!count($workspaceAccessBlocked)) {
|
||
if ($mayMoveAccess) {
|
||
if ($mayMoveAccess && $editAccess) {
|
||
if ($destPid>=0) { // insert as first element on page (where uid = $destPid)
|
||
if ($mayInsertAccess) {
|
||
if ($table!='pages' || $this->destNotInsideSelf($destPid,$uid)) {
|