[Typo3] How to set the default user group for a BE user

Kraft Bernhard kraftb at gmx.net
Wed Feb 23 22:56:24 CET 2005


Steffen Müller wrote:
> That's it. Thanks for your hint. Isn't it possible via TS?

Luke, look into the source:

t3lib/class.t3lib_userauthgroup.php line 867:
		// If this function is processing the users OWN group-list (not subgroups) AND if the ->firstMainGroup
		// is not set, then the ->firstMainGroup will be set.
             if (!strcmp($idList,'') && !$this->firstMainGroup) {
                $this->firstMainGroup=$uid;
             }

so you see when idList is emtpy and firstMainGroup is not set (this is true when the
first entry is processed) then firstMainGroup gets set.

And as this is as it is (wow) you can't don anything about it except reorder
the list.

greets,
Bernhard
-- 
----------------------------------------------------------------------
"Freiheit ist immer auch die Freiheit des Andersdenkenden"
Rosa Luxemburg, 1871 - 1919
----------------------------------------------------------------------



More information about the TYPO3-english mailing list