diff --git a/api/src/org/labkey/api/security/Directive.java b/api/src/org/labkey/api/security/Directive.java index ba150f9487e..b0acc73b432 100644 --- a/api/src/org/labkey/api/security/Directive.java +++ b/api/src/org/labkey/api/security/Directive.java @@ -19,14 +19,16 @@ import org.labkey.api.util.SafeToRenderEnum; /** - * All CSP directives that support substitutions. These constant names are persisted to the database, so be careful with - * any changes. If adding a Directive, make sure to add the corresponding substitutions in LabKeyServer baseCsp. + * All CSP directives that support substitutions. These constant names are persisted to the database, so be careful + * with any changes. If adding a Directive, make sure to add the corresponding substitutions to the appropriate CSP + * template(s) in LabKeyServer. */ public enum Directive implements StartupProperty, SafeToRenderEnum { Connection("connect-src", "Sources for fetch/XHR requests"), Font("font-src", "Sources for fonts"), Frame("frame-src", "Sources for iframes"), + FrameAncestors("frame-ancestors", "Parent hosts allowed to embed this site's resources in an