From 009beb4b11c5fc4fc4823ba0cc0609e09482c2ee Mon Sep 17 00:00:00 2001 From: holivier Date: Mon, 5 Oct 2020 10:39:28 +0200 Subject: [PATCH] Improvement: Error messages when generating HTML and PDF file from AsciiDoc files (OFBIZ-11893) minor correction, title level and anchor definition --- .../src/docs/asciidoc/_include/sy-CSRF-defense.adoc | 2 +- .../src/docs/asciidoc/_include/sy-impersonation.adoc | 7 ++----- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/framework/security/src/docs/asciidoc/_include/sy-CSRF-defense.adoc b/framework/security/src/docs/asciidoc/_include/sy-CSRF-defense.adoc index ee47604024..8440b4debb 100644 --- a/framework/security/src/docs/asciidoc/_include/sy-CSRF-defense.adoc +++ b/framework/security/src/docs/asciidoc/_include/sy-CSRF-defense.adoc @@ -38,7 +38,7 @@ ____ By default OOTB the SameSiteFilter property sets the same-site attribute value to 'strict. SameSiteFilter allows to change to 'lax' if needed -===== Properties +==== Properties The _security.properties_ file contains related properties: diff --git a/framework/security/src/docs/asciidoc/_include/sy-impersonation.adoc b/framework/security/src/docs/asciidoc/_include/sy-impersonation.adoc index 8876f32595..7612102f4a 100644 --- a/framework/security/src/docs/asciidoc/_include/sy-impersonation.adoc +++ b/framework/security/src/docs/asciidoc/_include/sy-impersonation.adoc @@ -23,10 +23,6 @@ The Apache OFBiz Project Release 18.12 :imagesdir: ../../themes/common-theme/webapp/images/img/ -ifdef::backend-pdf[] -:title-logo-image: image::OFBiz-Logo.svg[Apache OFBiz Logo, pdfwidth=4.25in, align=center] -:source-highlighter: rouge -endif::[] === Introduction to User impersonation @@ -35,7 +31,7 @@ see navigating through the application in his name. === How do this work ? -An authorized user _(see <> and <> section for configuration)_, can select a user +An authorized user _(see <> and <> section for configuration)_, can select a user that will be impersonated. The impersonation start, if everything is well configured, in current application (partymgr for the demo). @@ -50,6 +46,7 @@ This icon indicates, when clicking on it, the user impersonated, and offer a way The impersonate period is stored for audit purpose, and if the impersonator forgot to depersonate, the period is terminated _one hour_ after impersonation start. +[[impersonation_security]] === Security This feature can draw some concerns about security aspect. This paragraph will introduce every controls and properties