Project

General

Profile

Actions

Bug #34383

open

Incorrect redirect with multiple user groups

Added by Dmitry Dulepov over 12 years ago. Updated about 4 years ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
Authentication
Target version:
-
Start date:
2012-02-28
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.5
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

If the "redirectMode" is set to "groupLogin" and there are several groups with "felogin_redirectPid", the redirect should happen to the first or last group (depending on the mode of "redirectFirst" flag. The actual redirect result is undefined because felogin fetches groups from the database without any sorting. Depending on MySQL internal index state, results can come in any order and this order can change over time. In addition felogin uses $GLOBALS['TSFE'->fe_user->groupData['uid'], which contains sorted uid values for groups. This prevents correct redirects for multiple groups too.

Felogin should ensure that it adds redirects URLs in the proper order.


Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Epic #84262: [FEATURE] Update felogin to extbaseClosedHenning Liebe2013-08-16

Actions
Has duplicate TYPO3 Core - Feature #72251: Wrong redirect priority with 'redirectMode=groupLogin' at feloginClosed2015-12-15

Actions
Actions

Also available in: Atom PDF