Still debugging something on Sandbox

This commit is contained in:
Rick Falkvinge
2016-12-13 18:31:24 +01:00
parent 8bcc6d633a
commit 7dde1015a0
+2 -2
View File
@@ -251,10 +251,10 @@ namespace Swarmops.Frontend.Automation
personId = authData.CurrentUser.Identity;
}
throw new NotImplementedException();
Person person = Person.FromIdentity (personId);
throw new NotImplementedException();
if (!authData.Authority.CanSeePerson (person))
{
throw new ArgumentException(); // can't see the requested person, for whatever reason