This is an automated email from the ASF dual-hosted git repository.
holivier pushed a commit to branch trunk
in repository
https://gitbox.apache.org/repos/asf/ofbiz-framework.gitThe following commit(s) were added to refs/heads/trunk by this push:
new 7c7eae2 Improved: Error messages when generating HTML and PDF file from AsciiDoc files (OFBIZ-11893)
7c7eae2 is described below
commit 7c7eae2f84bef7ca0251063d6872bcea0ee81a40
Author: holivier <
[hidden email]>
AuthorDate: Fri Oct 2 18:23:14 2020 +0200
Improved: Error messages when generating HTML and PDF file from AsciiDoc files (OFBIZ-11893)
sy-impersonation.adoc minor correction,
* imagesDir cannot be out of asciidoc directory because content of it s copied in build directory when document is generated
* internal link to go to sub-section security was wrong because securty automatic anchor is generate for general security chapter
---
.../src/docs/asciidoc/_include/sy-impersonation.adoc | 9 +++------
.../docs/asciidoc/images/security/impersonate-ico.png | Bin 0 -> 3823 bytes
2 files changed, 3 insertions(+), 6 deletions(-)
diff --git a/framework/security/src/docs/asciidoc/_include/sy-impersonation.adoc b/framework/security/src/docs/asciidoc/_include/sy-impersonation.adoc
index 6956278..67dc894 100644
--- a/framework/security/src/docs/asciidoc/_include/sy-impersonation.adoc
+++ b/framework/security/src/docs/asciidoc/_include/sy-impersonation.adoc
@@ -22,11 +22,7 @@ under the License.
The Apache OFBiz Project
Release trunk
-: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::[]
+:imagesdir: ./images/security
=== Introduction to User impersonation
@@ -35,7 +31,7 @@ see navigating through the application in his name.
=== How do this work ?
-An authorized user _(see <<Security,security>> and <<Controls,controls>> section for configuration)_, can select a user
+An authorized user _(see <<impersonation_security,security>> and <<Controls,controls>> 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
diff --git a/framework/security/src/docs/asciidoc/images/security/impersonate-ico.png b/framework/security/src/docs/asciidoc/images/security/impersonate-ico.png
new file mode 100644
index 0000000..d12c252
Binary files /dev/null and b/framework/security/src/docs/asciidoc/images/security/impersonate-ico.png differ