[TYPO3-core] RFC 15090: Bug: login with a BE User somewhere else on the page tree

Fabien Udriot fudriot at omic.ch
Mon Jul 12 19:21:03 CEST 2010


This is an SVN patch request.

Type: Bugfix
=====

Bugtracker references: http://bugs.typo3.org/view.php?id=15090]
======================

Branches: trunk
=========

Problem:
========

By overriding the TCA, it is already possible to move a BE User to whatever page on the page tree.

$TCA['be_users'] = array(
   "ctrl" => array(
     "rootLevel" => -1
   )
)

This is particularly useful for organizing BE Users in different sysfolders when dealing with many 
BE Users at the same time. Therefore, it is possible to have a better overview of BE Users and 
additionally to delegate the management to some administrators.

But, at the moment it is *not* possible to login with a BE on a different pid as "pid = 0".

Solution:
=========
Detect if "rootLevel" is set to "-1" and remove the check in the case arises.

Steps to reproduce:
===================
- apply patch onto the trunk
- open ./t3lib/stddb/tables.php and change line line 315 to 'rootLevel' => -1 in $TCA['be_users']
- move a BE User to whatever page and try to login

I have also tested the patch successfully with the ExtJS login box when session has expired.

Regards,

Fabien
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 15090.diff
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100712/8d0096ba/attachment.asc>


More information about the TYPO3-team-core mailing list