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

Gosign | Caspar Stuebs caspar at gosign.de
Tue Aug 3 23:43:35 CEST 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I had a look to the patch and it works fine for me.

But it is not really usefull if you are not able to create new records.
And the user admin tool had not shown the users which are not on the root.

I am not sure if this should be added to this RFC, but I think I have
solved the problems:

I found that in the typo3/db_new.php the be_users und be_groups tables
are hardcoded denied from being created on other pages than the root.
After deleting that lines, the create-new button in the main toolbar
works on syspages (for be_users and be_groups with rootline < 1).

To solve the user admin tool problem I changed the
t3lib_befunc::getUserNames and t3lib_befunc::getGroupNames
But after that the user admin tool stopt to work with an Exception.
After changing the function user_where_clause() inside the index.php the
user admin tool worked again, now with all users.

Enclose you will find a patch _v4 which solves all mentioned problems
and a small CGL fix.

Viele Grüsse

Caspar Stuebs
Entwicklung

***Gosign im Jahrbuch der Werbung 2009***

NEW | We web pink: www.bebegeneration.de
We web green: www.greenpeace-hamburg.de
We web baguette: www.renault-safety.com

- -- 

Gosign media. GmbH | We web ideas.
Lokstedter Weg 36 | 20251 Hamburg
Tel. +49 (0) 40 / 31 70 15 00 | Fax  +49 (0) 40 / 31 70 15 02
eMail caspar at gosign.de | Internet www.Gosign.de | Skype caspar.stuebs

Amtsgericht Hamburg HRB 112197 | Ust-IdNr. DE215891388
Geschäftsführung Bert Gogolin

Greenpeace energy: Gosign läuft mit ehrlichem Strom.
Diese Mail bitte nur ausdrucken, wenn es wirklich sein muss.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkxYjYYACgkQBN8gVNLcSL4oSgCeJnwEURJZ0bQ+bebQOqPiJy5x
HxkAnA6IMyEIBcE9dTUJj6vNXGx0KM+8
=VEkC
-----END PGP SIGNATURE-----
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 15090_v4.diff
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100803/345ccff1/attachment.txt>


More information about the TYPO3-team-core mailing list