Debugging

This commit is contained in:
Rick Falkvinge
2016-12-13 18:50:34 +01:00
parent 3c1bf41b43
commit 7107dbacec
3 changed files with 3 additions and 2 deletions
+2
View File
@@ -468,6 +468,8 @@ 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.
+1
View File
@@ -1059,6 +1059,7 @@ namespace Swarmops.Logic.Swarm
public bool MemberOfWithInherited (int orgId)
{
Participations participations = GetMemberships();
foreach (Participation membership in participations)
{
if (membership.Organization.IsOrInherits (orgId))
-2
View File
@@ -253,8 +253,6 @@ 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