Project

General

Profile

Actions

Bug #15250

closed

t3lib_BEfunc::blindUserNames() does not work sometimes

Added by Dmitry Dulepov over 18 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
Could have
Assignee:
-
Category:
-
Target version:
-
Start date:
2005-11-30
Due date:
% Done:

0%

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

Description

This function does not work properly if the follwing two conditions were met:
- a list of user's groups were changed
- user did not log on to BE after group changes and before t3lib_BEfunc::blindUserNames was called

The problem is that t3lib_BEfunc::blindUserNames uses 'user_group_cached' field from be_user. This field is absolutely identical to 'usergroup' field (except database type which is irrelevant in this case). 'user_group_cached' is set to the value of when user 'usergroup' when user logs in. Thus fields in be_user record is not in sync.

I have no solution for this problem. Probably user_groups_cached should not be used at all.

(issue imported from #M1960)


Files

1960-usergroup_cached.patch (4.73 KB) 1960-usergroup_cached.patch Administrator Admin, 2010-03-05 22:41

Related issues 2 (1 open1 closed)

Related to TYPO3 Core - Feature #17630: gr_list concept needs to be improvedNew2007-09-27

Actions
Related to TYPO3 Core - Bug #27303: t3lib_BEfunc::blindUserNames might use wrong group list collectionClosed2011-06-08

Actions
Actions

Also available in: Atom PDF