userActions->userUpdate() and userActions->userAdd() gets called too early
Bug #1118717 reported by
Smokey
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
PHPDevShell |
New
|
High
|
Greg |
Bug Description
Above mentioned methods get called after the user has been added/modified, but before the extra roles and extra groups are saved.
To quickly test, add the following code to userActions-
$userId=
$this-
$this-
$user = $this->user;
$userGroups = $user->
$userRoles = $user->
$this-
$this-
Now modify the extra groups or roles of a user.
To post a comment you must log in.
Thanks a lot for your contribution. It seems a deep review of this part of the code is needed. In fact, we plan to re-write the inner working of authentication process. It will probably take a few weeks to have a new one working, hopefully ready for version 4.0. If it fits your planning, we'd be happy to collaborate with you on this.
greg