Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue 144: Editor uživatelů - uživatelé se stejným loginem #48

Closed
vlahoda opened this issue Jan 6, 2014 · 1 comment
Closed

Issue 144: Editor uživatelů - uživatelé se stejným loginem #48

vlahoda opened this issue Jan 6, 2014 · 1 comment
Assignees

Comments

@vlahoda
Copy link
Contributor

vlahoda commented Jan 6, 2014

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

@ghost ghost assigned vlahoda Jan 6, 2014
@vlahoda
Copy link
Contributor Author

vlahoda commented Mar 10, 2015

opraveno, zbývá upravit inicilaizační skript databáze - viz #49

@vlahoda vlahoda closed this as completed Mar 10, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant