[Typo3] How to set the default user group for a BE user
Steffen Müller
steffen at mail.kommwiss.fu-berlin.de
Thu Feb 24 11:38:12 CET 2005
On 02/23/2005 10:56 PM Kraft Bernhard wrote:
>
> 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.
>
Thanks for your information, Obi-Wan!
Unfortunately I use 3.7 and the be_user.usergroup is a tinyblob, so I
don't see any chance to change that on the fly. Is 3.8 in sight?
--
cheers
Steffen
More information about the TYPO3-english
mailing list