RBAC generator with conditional grants used for REPRESENTATIVE-Relation #33

Merged
hsh-michaelhoennig merged 31 commits from rbac-generator-with-conditional-grants into master 2024-04-08 11:16:07 +02:00
Showing only changes of commit 25823342e7 - Show all commits

View File

@ -165,7 +165,7 @@ public class RbacViewMermaidFlowchartGenerator {
Files.writeString(
path,
"""
### rbac %{entityAlias} %{case}
### rbac %{entityAlias}%{case}
This code generated was by RbacViewMermaidFlowchartGenerator, do not amend manually.
@ -175,7 +175,7 @@ public class RbacViewMermaidFlowchartGenerator {
"""
.replace("%{entityAlias}", rbacDef.getRootEntityAlias().aliasName())
.replace("%{flowchart}", flowchart.toString())
.replace("%{case}", forCase == null ? "" : (forCase.toString()) ),
.replace("%{case}", forCase == null ? "" : " " + forCase),
StandardOpenOption.CREATE, StandardOpenOption.TRUNCATE_EXISTING);
System.out.println("Markdown-File: " + path.toAbsolutePath());
}