You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reported by Martin.Rehanek, Jul 20, 2011
Je možné vytvořit několik uživatelů se stejným loginem.
Jul 20, 2011 Delete comment Project Member #1 vlahoda
(No comment was entered for this change.)
Status: Accepted
Owner: pavel.stastny
Nov 18, 2011 Delete comment Project Member #2 Martin.Rehanek
navíc pokud tato situace nastane, není možné jednoho z uživatelů odebrat. jako by to fungovalo takto(speudokod):
List users = sql(select * from user_entity where loginname=$login);
//remove
in_transaction{
for(User user: users){
remove_user(user);
}
}
pokud odebrani nektereho z uzivatelu selze (coz se stane, pokud je v nektere skupine, viz issue 201 ), tak se neodebere zadny ucet. Samozrejme tohle asi resit nema smysl, melo by se nejprve zamezit vytvareni uzivatelu se stejnym loginem a pote sql skriptem odebrat uzivatele se stejnym loginem nebo jinak opravit.
Jul 4, 2013 Delete comment Project Member #3 vlahoda
(No comment was entered for this change.)
Owner: vlahoda
The text was updated successfully, but these errors were encountered:
Reported by Martin.Rehanek, Jul 20, 2011
Je možné vytvořit několik uživatelů se stejným loginem.
Jul 20, 2011 Delete comment Project Member #1 vlahoda
(No comment was entered for this change.)
Status: Accepted
Owner: pavel.stastny
Nov 18, 2011 Delete comment Project Member #2 Martin.Rehanek
navíc pokud tato situace nastane, není možné jednoho z uživatelů odebrat. jako by to fungovalo takto(speudokod):
List users = sql(select * from user_entity where loginname=$login);
//remove
in_transaction{
for(User user: users){
remove_user(user);
}
}
pokud odebrani nektereho z uzivatelu selze (coz se stane, pokud je v nektere skupine, viz issue 201 ), tak se neodebere zadny ucet. Samozrejme tohle asi resit nema smysl, melo by se nejprve zamezit vytvareni uzivatelu se stejnym loginem a pote sql skriptem odebrat uzivatele se stejnym loginem nebo jinak opravit.
Jul 4, 2013 Delete comment Project Member #3 vlahoda
(No comment was entered for this change.)
Owner: vlahoda
The text was updated successfully, but these errors were encountered: