Debugging
This commit is contained in:
@@ -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.
|
||||
|
||||
|
||||
@@ -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))
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user