Commit Graph

580 Commits

Author SHA1 Message Date
Michael Hoennig
b2cea1e882 insert (into) table permission 2024-03-05 09:44:44 +01:00
Michael Hoennig
fa15378fd2 generate identityview, restrictedview and roledescriptors 2024-03-02 19:53:21 +01:00
Michael Hoennig
b187c705b1 finally working version for UPDATE-trigger-function with separated INSERT+UPDATE trigger functions 2024-03-01 18:46:41 +01:00
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
c7003148ae Merge pull request 'fix misleading findPermissionId naming' (#19) from fix-findPermissionId into master
Reviewed-on: #19
Reviewed-by: Timotheus Pokorra <timotheus.pokorra@hostsharing.net>
2024-02-22 09:27:07 +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
e427bb1784 Merge pull request 'fix+improve-project-setup' (#8) from fix+improve-project-setup into master
Reviewed-on: #8
Reviewed-by: Timotheus Pokorra <timotheus.pokorra@hostsharing.net>
2024-01-09 09:01:12 +01:00
Timotheus Pokorra
238e413aa7 Merge branch 'master' into fix+improve-project-setup 2024-01-09 09:00:26 +01:00
5f9a6d53d8 Merge pull request 'Add information related to Podman storage to README.' (#3) from readme-podman-storage into master
Reviewed-on: #3
Reviewed-by: Michael Hoennig <michael.hoennig@hostsharing.net>
2024-01-09 08:58:57 +01:00
Timotheus Pokorra
fef9fba073 Merge branch 'master' into readme-podman-storage 2024-01-09 08:58:00 +01:00
3d77dcc2ce Merge pull request 'Requirements aktualisiert' (#4) from TP-20240104-readme_requirements into master
Reviewed-on: #4
Reviewed-by: Michael Hoennig <michael.hoennig@hostsharing.net>
2024-01-09 08:56:18 +01:00
Timotheus Pokorra
38e4b00107 Merge branch 'master' into TP-20240104-readme_requirements 2024-01-09 08:55:29 +01:00
Michael Hoennig
96ef490207 code cleanup, removing commented code 2024-01-06 18:23:13 +01:00
Michael Hoennig
0a996a9a8f remove SDKMAN from README, JDK is now downloaded by Gradle Toolchain 2024-01-06 18:12:25 +01:00
Michael Hoennig
242b6f88c9 make OWASP_API_KEY optionally 2024-01-06 18:11:24 +01:00
0f71c6a88d re-activate auto-download of JDK with Gradle Toolchain support (#7)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: #7
Reviewed-by: Timotheus Pokorra <timotheus.pokorra@hostsharing.net>
2024-01-05 15:16:12 +01:00
5c651891c3 Merge pull request 'Version Upgrade to Spring Boot 3.1.7, JDK 21, Gradle 8.5, Postgres 15 etc.' (#5) from version-upgrade-spring-boot-3-2-1-etc into master
Reviewed-on: #5
Reviewed-by: Timotheus Pokorra <timotheus.pokorra@hostsharing.net>
2024-01-05 13:40:49 +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