restore to where we were

This commit is contained in:
Rick Falkvinge
2014-02-24 16:28:33 +00:00
parent 34793a35e1
commit ae8ec7627d
2 changed files with 2 additions and 2 deletions
@@ -20,7 +20,7 @@ namespace Swarmops.Frontend.Automation
People matches = People.FromSingle(Person.FromIdentity(Int32.Parse(personId)));
matches = matches.GetVisiblePeopleByAuthority(CurrentUser.GetAuthority());
matches = Authorization.FilterPeopleToMatchAuthority(matches, CurrentUser.GetAuthority());
if (matches.Count == 1) // still allowed
{
@@ -21,7 +21,7 @@ namespace Swarmops.Frontend.Automation
People matches = People.FromNamePattern(pattern);
matches = matches.GetVisiblePeopleByAuthority(CurrentUser.GetAuthority());
matches = Authorization.FilterPeopleToMatchAuthority(matches, CurrentUser.GetAuthority());
if (matches.Count > 10)
{