Commit Graph

436 Commits

Author SHA1 Message Date
Michael Hoennig
17282c857f first working version for UPDATE-trigger-function 2024-03-01 12:34:02 +01:00
Michael Hoennig
bc33f1fd9d only render the update trigger if there are any updatable entity aliases 2024-02-29 11:19:35 +01:00
Michael Hoennig
5276471adb frame for update trigger 2024-02-29 09:22:54 +01:00
Michael Hoennig
fef6e1c01c split trigger function from the procedure which actually generates the groles and grants 2024-02-28 15:37:59 +01:00
Michael Hoennig
dff9803dc3 add RBAC for HsOfficeSepaMandateEntity, improved DSL and Postgres-generator 2024-02-28 13:58:55 +01:00
Michael Hoennig
59ea077a4e stable and better readable order of generated grants 2024-02-28 10:04:20 +01:00
Michael Hoennig
e521c3c9c3 added PartnerDetails as SubEntity and amend genertors accordingly 2024-02-27 16:59:47 +01:00
Michael Hoennig
4bef9391e1 fix some warnings 2024-02-27 12:41:29 +01:00
Michael Hoennig
12010b4dae rbacDef for HsOfficePartnerEntity and related amendments of generators 2024-02-27 12:34:52 +01:00
Michael Hoennig
4ba78a70c2 fix TestCustomerEntity + Flowchart generator 2024-02-27 10:11:22 +01:00
Michael Hoennig
faf6710ef1 generates Postgres for Relationship 2024-02-26 15:48:03 +01:00
Michael Hoennig
86cf4f6c97 use StringWriter in Postgres generator 2024-02-26 13:35:39 +01:00
Michael Hoennig
d7f0727efe fix relationship holderPerson-role 2024-02-26 11:19:38 +01:00
Michael Hoennig
c1c67b3c7b align naming to rootEntityAlias 2024-02-26 09:07:09 +01:00
Michael Hoennig
2171424118 fix duplicate grangs error 2024-02-25 14:14:02 +01:00
Michael Hoennig
5ac616e425 improve RBAC definition DSL 2024-02-25 13:19:27 +01:00
Michael Hoennig
b4d6930fbe introduce StringWriter and generate properly indented Flowchart 2024-02-25 11:58:45 +01:00
Michael Hoennig
f45f88ba77 add customer and outgoing grants to RelationshipEntity 2024-02-25 09:30:07 +01:00
Michael Hoennig
fc1cc5815f introduce RbacObject and initial test for RbacViewMermaidFlowchart 2024-02-25 09:30:07 +01:00
Michael Hoennig
8d3fb4e951 Merge remote-tracking branch 'origin/master' into experimental-rbacview-generator 2024-02-24 09:15:48 +01:00
d9558f2cfe add-trigger-object-to-rbacgrant (#18)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: #18
Reviewed-by: Timotheus Pokorra <timotheus.pokorra@hostsharing.net>
2024-02-24 09:04:07 +01:00
Michael Hoennig
3e2fa5a6f6 rekursive Entity-Imports and render complex Mermad-Flowcharts (example: Debitor with parterRel+personRel and holderPerspn+anchorPerson each) 2024-02-23 16:09:10 +01:00
Michael Hoennig
54cff5ece9 check for unused grants 2024-02-23 12:31:08 +01:00
Michael Hoennig
74071c15db generate postgres trigger function + trigger for RbacView for simple objects 2024-02-23 12:17:41 +01:00
Michael Hoennig
f11edc082d generate flowchart for RbacView, with import of simple objects 2024-02-23 09:22:35 +01:00
Michael Hoennig
a0473976d5 improve readability for defineEntityAlias 2024-02-21 13:22:45 +01:00
Michael Hoennig
491516e516 experimental RbacView: API for a potential Mermaid + pl/pgSQL generator 2024-02-21 13:02:54 +01:00
Michael Hoennig
36654a69d8 fix misleading findPermissionId naming 2024-02-16 16:48:37 +01:00
496cdf295b fix import error for missing contractual contact and legacy-ids (#17)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: #17
Reviewed-by: Timotheus Pokorra <timotheus.pokorra@hostsharing.net>
2024-02-05 14:37:50 +01:00
2c0101b46d introduce-partner-business-role (#16)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: #16
Reviewed-by: Timotheus Pokorra <timotheus.pokorra@hostsharing.net>
2024-02-01 14:48:15 +01:00
188cb9733e add-subscriber-role (#14)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: #14
Reviewed-by: Timotheus Pokorra <timotheus.pokorra@hostsharing.net>
2024-01-26 09:30:31 +01:00
fb974a3b43 memberNumber as partnerNumber+memberNumberSuffix (#13)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: #13
Reviewed-by: Michael Hierweck <michael.hierweck@hostsharing.net>
2024-01-24 15:57:16 +01:00
f150ea2091 more detailed person type (#12)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: #12
Reviewed-by: Michael Hierweck <michael.hierweck@hostsharing.net>
2024-01-24 15:18:44 +01:00
fd1bd897b1 initial data import for hs-office tables (db-migration #10)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Co-authored-by: Timotheus Pokorra <timotheus.pokorra@hostsharing.net>
Reviewed-on: #10
Reviewed-by: Timotheus Pokorra <timotheus.pokorra@hostsharing.net>
2024-01-23 15:11:23 +01:00
Michael Hoennig
96ef490207 code cleanup, removing commented code 2024-01-06 18:23:13 +01:00
Michael Hoennig
727644736d Merge remote-tracking branch 'origin/master' into version-upgrade-spring-boot-3-2-1-etc 2024-01-05 13:25:50 +01:00
e5e9f26856 Liquibase-Changesets für Legacy-ID Mapping of Office-Admininistration-Tables
Reviewed-on: #6
Reviewed-by: Timotheus Pokorra <timotheus.pokorra@hostsharing.net>
2024-01-05 10:58:47 +01:00
Michael Hoennig
85abe5c3cb amendmends according to code review 2024-01-05 10:52:15 +01:00
Michael Hoennig
47338cead8 Liquibase-Changesets für Legacy-ID Mapping 2024-01-05 08:19:49 +01:00
Michael Hoennig
7f98bbde64 fix pitest, spotless and cleanup 2024-01-04 12:39:39 +01:00
Michael Hoennig
ea130581a3 unit test and improve PostgresArray 2024-01-04 12:38:40 +01:00
Michael Hoennig
f8de575b77 cleanup 2024-01-04 10:28:53 +01:00
Michael Hoennig
d2f9f0ae8f fix invalid assertion 2024-01-04 10:28:53 +01:00
Michael Hoennig
73f147c557 fix most unit tests and improve usage of assumeThat 2024-01-04 10:28:53 +01:00
Michael Hoennig
378e1ec584 fix Postgres typing error by casting 2nd operator of like operator to text 2024-01-04 10:28:53 +01:00
Michael Hoennig
ec53934f30 fix problem with Postgres function array return value in Hibernate 6 2024-01-04 10:28:52 +01:00
Michael Hoennig
063fcf90a3 SpringBoot, Gradle, Java etc. version upgrades and add OWASP API key via gradle.properties 2024-01-04 09:58:29 +01:00
994a0e13c0 improve setup instructions and fix Swagger UI (#2)
Co-authored-by: Timotheus Pokorra <timotheus.pokorra@solidcharity.com>
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: #2
Reviewed-by: Timotheus Pokorra <timotheus.pokorra@hostsharing.net>
2024-01-02 15:27:15 +01:00
Michael Hoennig
287c1ad9dc minor improvement in setup instructions 2024-01-02 13:08:55 +01:00
Michael Hoennig
53ffe9e738 fix SwaggerUI issue with duplicate method name 2024-01-02 13:03:15 +01:00