From 73e9fb2700c0e127c84d9d1b6d0e32c6402ec87c Mon Sep 17 00:00:00 2001 From: Rick Falkvinge Date: Tue, 13 Dec 2016 18:36:57 +0100 Subject: [PATCH] Debugging Sandbox exception --- Site/Automation/SwarmFunctions.aspx.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Site/Automation/SwarmFunctions.aspx.cs b/Site/Automation/SwarmFunctions.aspx.cs index c95ffe15..391a615f 100644 --- a/Site/Automation/SwarmFunctions.aspx.cs +++ b/Site/Automation/SwarmFunctions.aspx.cs @@ -253,13 +253,13 @@ namespace Swarmops.Frontend.Automation 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 } + throw new NotImplementedException(); + return new PersonEditorData { Success = true,