diff --git a/Site5/Pages/v5/Security/ChangeOrganizations.aspx.cs b/Site5/Pages/v5/Security/ChangeOrganizations.aspx.cs index 342deda8..999201ac 100644 --- a/Site5/Pages/v5/Security/ChangeOrganizations.aspx.cs +++ b/Site5/Pages/v5/Security/ChangeOrganizations.aspx.cs @@ -1,5 +1,6 @@ using System; using System.Collections.Generic; +using Swarmops.Logic.Security; using Swarmops.Logic.Support; using Swarmops.Logic.Swarm; @@ -16,6 +17,15 @@ namespace Swarmops.Frontend.Pages.v5.Security InfoBoxLiteral = Resources.Pages.Security.ChangeOrganizations_Info; this.LabelNoOrganizations.Text = Resources.Pages.Security.ChangeOrganizations_NothingToChange; + PageAccessRequired = new Access (AccessAspect.Null, AccessType.Unknown); + + if (CurrentUser.Identity < 0) + { + // We're logged on as open-something + + Response.Redirect ("/"); // back to dashboard + } + PopulateRepeater(); }