From 0fec213ae1810d7ffa8c12af0c77a72b6cf3c42d Mon Sep 17 00:00:00 2001 From: Rick Falkvinge Date: Tue, 13 Dec 2016 19:01:25 +0100 Subject: [PATCH] Debugging --- Logic/Security/Authority.cs | 2 -- Site/Automation/SwarmFunctions.aspx.cs | 3 +++ 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Logic/Security/Authority.cs b/Logic/Security/Authority.cs index 2dbbad74..ef3db7fa 100644 --- a/Logic/Security/Authority.cs +++ b/Logic/Security/Authority.cs @@ -468,8 +468,6 @@ namespace Swarmops.Logic.Security } } - throw new NotImplementedException(); - // Is this Person a Participant of an org or sub-org where the current Authority // has organizationwide access? Case 2. diff --git a/Site/Automation/SwarmFunctions.aspx.cs b/Site/Automation/SwarmFunctions.aspx.cs index 318a757f..b624a5b3 100644 --- a/Site/Automation/SwarmFunctions.aspx.cs +++ b/Site/Automation/SwarmFunctions.aspx.cs @@ -252,6 +252,9 @@ namespace Swarmops.Frontend.Automation } Person person = Person.FromIdentity (personId); + Participations partic = person.GetMemberships(); + + throw new NotImplementedException(); if (!authData.Authority.CanSeePerson (person)) {