Issue Bug Closed

#15250t3lib_BEfunc::blindUserNames() does not work sometimes

Dmitry Dulepov 11/30/05, 20:39 updated 09/02/13, 09:19

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)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.