diff --git a/Site/Pages/v5/Support/StreamUpload.aspx.cs b/Site/Pages/v5/Support/StreamUpload.aspx.cs index ded21aa7..73cd3d4e 100644 --- a/Site/Pages/v5/Support/StreamUpload.aspx.cs +++ b/Site/Pages/v5/Support/StreamUpload.aspx.cs @@ -38,15 +38,26 @@ namespace Swarmops.Pages.v5.Support bool hasPermission = false; string serverFileName = document.ServerFileName; - if (document.UploadedByPersonId == this.CurrentAuthority.Person.Identity) + if (document.DocumentType == DocumentType.Logo) { - hasPermission = true; // can always view documents you yourself uploaded - } + // Always allow organization logos to display, + // or the "signup" page won't work without + // credentials - if (CurrentOrganization.HasOpenLedgers) - { hasPermission = true; } + else + { + if (document.UploadedByPersonId == this.CurrentAuthority.Person.Identity) + { + hasPermission = true; // can always view documents you yourself uploaded + } + + if (CurrentOrganization.HasOpenLedgers) + { + hasPermission = true; + } + } if (!hasPermission)