|
galexonline
Amministratore
 
 Regione: Lazio
Prov.: Viterbo
Città: Civita Castellana
122 Messaggi |
Inserito il - 18/06/2009 : 08:56:12
|
ripreso dal sito http://joomlacode.org/gf/project/noixacl/tracker/?action=TrackerItemEdit&tracker_item_id=15340
qui sotto uno snapshot
[#15340] Multigroup doesn't work when creating new user in backend (plg_user_noixacl)
Presentato da: The Fox Data apertura 2009-03-04 02:06:54 Priorità: Bassissimo Assegnato a: Julio Pontes Severity: N/A Status: Open Found In Release: noixACL2.0BetaReleased Fixed In Release: N/A Operating System: All Duration (Days): Estimated Effort (Hours): Percent Complete (0-100): Sommario Multigroup doesn't work when creating new user in backend (plg_user_noixacl) Dettagli
Hi,
If you want to create a new user in the backend, the multigroup function won't work, it will only work if you edit the user.
This a because of the way plg_user_noixacl, you add the multigroups before you add/change the user himself. This also creates a faulty entry in the database, you will get a row with id_user = 0 in #__noixacl_multigroups.
This is easily fixed by changing the following code in /plugins/user/noixacl.php (on line 53) :
function onBeforeStoreUser($user, $isnew)
into
function onAfterStoreUser($user, $isnew)
|
|