From ee0ae22c3c24413ae4053673f6a6604353edd01f Mon Sep 17 00:00:00 2001 From: James Brunton Date: Fri, 28 Aug 2026 13:49:48 +0100 Subject: [PATCH] Fix comments --- .../software/proprietary/policy/store/JpaPolicyStore.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/app/proprietary/src/main/java/stirling/software/proprietary/policy/store/JpaPolicyStore.java b/app/proprietary/src/main/java/stirling/software/proprietary/policy/store/JpaPolicyStore.java index 0fa679c79d..f335a4d754 100644 --- a/app/proprietary/src/main/java/stirling/software/proprietary/policy/store/JpaPolicyStore.java +++ b/app/proprietary/src/main/java/stirling/software/proprietary/policy/store/JpaPolicyStore.java @@ -202,9 +202,10 @@ public class JpaPolicyStore implements PolicyStore { private static final Set EXPORT_BY_DEFAULT = Set.of("security"); /** - * Derive {@code editor} for a blob written before editor participation had its own field. It - * used to be inferred from {@code output.options}: {@code "editor"} in {@code sources}, or - - * for a catalogue policy - no sources at all, which meant "nobody narrowed it". + * Derive {@code editor} for a blob written before editor participation had its own field, from + * its {@code output.options}: allowed when {@code sources} lists {@code "editor"}, or - for a + * catalogue policy - when there is no {@code sources} list at all (an unnarrowed catalogue + * policy runs in the editor). * *

Runs on every read, deliberately outside {@link #upgradeLegacyShape}'s early return: a * blob written after triggers moved onto {@code inputs} but before this field existed still