Commit Graph

580 Commits

Author SHA1 Message Date
Michael Hoennig
b5ef54e83c baseline with green tests 2024-04-03 09:58:12 +02:00
Michael Hoennig
630a9fe3d0 Merge remote-tracking branch 'origin/master' into rbac-generator-with-conditional-grants
# Conflicts:
#	README.md
#	build.gradle
#	doc/rbac.md
#	src/main/java/net/hostsharing/hsadminng/hs/office/coopassets/HsOfficeCoopAssetsTransactionEntity.java
#	src/main/java/net/hostsharing/hsadminng/hs/office/coopshares/HsOfficeCoopSharesTransactionEntity.java
#	src/main/java/net/hostsharing/hsadminng/hs/office/membership/HsOfficeMembershipEntity.java
#	src/main/resources/db/changelog/1-rbac/1050-rbac-base.sql
#	src/main/resources/db/changelog/1-rbac/1058-rbac-generators.sql
#	src/main/resources/db/changelog/1-rbac/1080-rbac-global.sql
#	src/main/resources/db/changelog/5-hs-office/503-relation/5033-hs-office-relation-rbac.md
#	src/main/resources/db/changelog/5-hs-office/503-relation/5033-hs-office-relation-rbac.sql
#	src/main/resources/db/changelog/5-hs-office/510-membership/5103-hs-office-membership-rbac.md
#	src/main/resources/db/changelog/5-hs-office/510-membership/5103-hs-office-membership-rbac.sql
#	src/main/resources/db/changelog/5-hs-office/511-coopshares/5113-hs-office-coopshares-rbac.md
#	src/main/resources/db/changelog/5-hs-office/511-coopshares/5113-hs-office-coopshares-rbac.sql
#	src/main/resources/db/changelog/5-hs-office/512-coopassets/5123-hs-office-coopassets-rbac.md
#	src/main/resources/db/changelog/5-hs-office/512-coopassets/5123-hs-office-coopassets-rbac.sql
#	src/test/java/net/hostsharing/hsadminng/hs/office/coopassets/HsOfficeCoopAssetsTransactionRepositoryIntegrationTest.java
#	src/test/java/net/hostsharing/hsadminng/hs/office/coopshares/HsOfficeCoopSharesTransactionRepositoryIntegrationTest.java
#	src/test/java/net/hostsharing/hsadminng/hs/office/membership/HsOfficeMembershipControllerAcceptanceTest.java
#	src/test/java/net/hostsharing/hsadminng/hs/office/membership/HsOfficeMembershipRepositoryIntegrationTest.java
#	src/test/java/net/hostsharing/hsadminng/hs/office/relation/HsOfficeRelationRepositoryIntegrationTest.java
#	src/test/java/net/hostsharing/hsadminng/hs/office/test/ContextBasedTestWithCleanup.java
#	src/test/java/net/hostsharing/hsadminng/rbac/rbacgrant/RbacGrantControllerAcceptanceTest.java
#	src/test/java/net/hostsharing/hsadminng/rbac/rbacrole/TestRbacRole.java
2024-04-03 08:17:09 +02:00
73c378b456 spring-boot-3-2-upgrade (#32)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: #32
Reviewed-by: Timotheus Pokorra <timotheus.pokorra@hostsharing.net>
2024-04-02 13:24:25 +02:00
ad04faa21d cleanup-todos (#31)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: #31
Reviewed-by: Timotheus Pokorra <timotheus.pokorra@hostsharing.net>
2024-04-02 13:14:46 +02:00
277369a960 debitornumbersuffix-as-string (#30)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: #30
Reviewed-by: Timotheus Pokorra <timotheus.pokorra@hostsharing.net>
2024-04-02 13:09:12 +02:00
87af20a3a1 structured-liquibase-files (#29)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: #29
Reviewed-by: Timotheus Pokorra <timotheus.pokorra@hostsharing.net>
2024-04-02 12:29:31 +02:00
7f418c12a1 uniform idnames (#28)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: #28
Reviewed-by: Timotheus Pokorra <timotheus.pokorra@hostsharing.net>
2024-04-02 12:01:37 +02:00
f8fb273918 generated RBAC for coopshares and -assets (#27)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: #27
Reviewed-by: Timotheus Pokorra <timotheus.pokorra@hostsharing.net>
2024-04-02 11:04:56 +02:00
Michael Hoennig
4f25bf1496 WIP: rbac-generator-with-conditional-grants 2024-04-02 10:09:28 +02:00
Michael Hoennig
6346dff3ef remove superfluous grant to TENANT which was also granted to AGENT 2024-04-02 09:32:16 +02:00
Michael Hoennig
952fafffdb remove further unnecessary excludes 2024-04-02 07:52:59 +02:00
Michael Hoennig
bdcde1519b remove snakeyaml exclude 2024-03-31 14:02:57 +02:00
Michael Hoennig
f29dc80074 remove version workarounds which are not necessary anymore 2024-03-31 12:27:34 +02:00
Michael Hoennig
e5c01e70f5 Spring Boot 3.2 upgrade 2024-03-31 10:53:25 +02:00
Michael Hoennig
84a25ac51d cleanup TODOs and fixing some varchar length 2024-03-30 16:30:18 +01:00
Michael Hoennig
22953ba38e debitorNumberSuffix as String 2024-03-30 13:38:17 +01:00
Michael Hoennig
0f9b410d4f structured liquibase files 2024-03-30 13:30:32 +01:00
Michael Hoennig
b1da9a5fb8 fix missed .admin -> :ADMIN 2024-03-30 13:29:37 +01:00
Michael Hoennig
d816275776 fix missing insert perm grants 2024-03-30 13:29:25 +01:00
Michael Hoennig
da5eea8000 uniform idnames 2024-03-29 19:26:32 +01:00
Michael Hoennig
844ea380a0 generated RBAC for CoopAssets 2024-03-28 15:43:03 +01:00
Michael Hoennig
59c41a176e generated RBAC for CoopShares 2024-03-28 15:42:38 +01:00
Michael Hoennig
0a033c28f1 allow currentTask up to 127 characters in length 2024-03-28 13:40:28 +01:00
d3ca2b7e23 move Parter+Debitor person+contact to related Relationsship (#20)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: #20
Reviewed-by: Timotheus Pokorra <timotheus.pokorra@hostsharing.net>
2024-03-28 12:15:13 +01:00
4572c6bda0 improved RBAC generators (#26)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: #26
Reviewed-by: Timotheus Pokorra <timotheus.pokorra@hostsharing.net>
2024-03-26 11:25:18 +01:00
67c1b50239 fix setting relation mark via API (#24)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: #24
Reviewed-by: Timotheus Pokorra <timotheus.pokorra@hostsharing.net>
2024-03-14 12:52:24 +01:00
3faf2ea99e rename partnerRole -> partnerRel, relationship -> relation and remove rel-Prefix (relAnchor etc.) (#23)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: #23
Reviewed-by: Timotheus Pokorra <timotheus.pokorra@hostsharing.net>
2024-03-13 15:01:24 +01:00
907e27ec19 import-debitor-relationship (into intermediate data structure) (#22)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: #22
Reviewed-by: Timotheus Pokorra <timotheus.pokorra@hostsharing.net>
2024-03-12 10:13:36 +01:00
187c0db8e2 RBAC Diagram+PostgreSQL Generator and view->SELECT etc. refactoring (#21)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: #21
Reviewed-by: Timotheus Pokorra <timotheus.pokorra@hostsharing.net>
2024-03-11 12:30:43 +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
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
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