Still debugging something on Sandbox

This commit is contained in:
Rick Falkvinge
2016-12-13 18:26:50 +01:00
parent efff5094b2
commit 8bcc6d633a
+2 -2
View File
@@ -240,8 +240,6 @@ namespace Swarmops.Frontend.Automation
[WebMethod]
public static PersonEditorData GetPersonEditorData (int personId)
{
throw new NotImplementedException();
AuthenticationData authData = GetAuthenticationDataAndCulture();
#pragma warning disable 219
bool self = false;
@@ -253,6 +251,8 @@ namespace Swarmops.Frontend.Automation
personId = authData.CurrentUser.Identity;
}
throw new NotImplementedException();
Person person = Person.FromIdentity (personId);
if (!authData.Authority.CanSeePerson (person))