restore to where we were
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user