From 90faee67fcba3108302ba42c5cfbc3449911f8eb Mon Sep 17 00:00:00 2001 From: Jordan Dominion Date: Sat, 26 Apr 2025 22:46:02 -0400 Subject: [PATCH] Use `ApplyPolicy.Validation` for subscriptions See https://github.com/ChilliCream/graphql-platform/issues/6259 --- src/Tgstation.Server.Host/GraphQL/Subscription.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Tgstation.Server.Host/GraphQL/Subscription.cs b/src/Tgstation.Server.Host/GraphQL/Subscription.cs index b989fded2f..9361246dea 100644 --- a/src/Tgstation.Server.Host/GraphQL/Subscription.cs +++ b/src/Tgstation.Server.Host/GraphQL/Subscription.cs @@ -17,7 +17,7 @@ namespace Tgstation.Server.Host.GraphQL /// Root type for GraphQL subscriptions. /// /// Intentionally left mostly empty, use type extensions to properly scope operations to domains. - [Authorize] + [Authorize(ApplyPolicy.Validation)] // See https://github.com/ChilliCream/graphql-platform/issues/6259 [GraphQLDescription(GraphQLDescription)] public sealed class Subscription {