Commit Graph

25 Commits

Author SHA1 Message Date
Michael Hoennig
37f00a19f0 merging master aftermath, ImportOfficeData not fully working yet 2024-03-22 17:23:17 +01:00
Michael Hoennig
6e663cf525 Merge branch 'improved-rbac-generator' into remove-direct-partner-person-and-contact
# Conflicts:
#	src/main/java/net/hostsharing/hsadminng/hs/office/debitor/HsOfficeDebitorEntity.java
#	src/main/java/net/hostsharing/hsadminng/hs/office/partner/HsOfficePartnerController.java
#	src/main/java/net/hostsharing/hsadminng/hs/office/partner/HsOfficePartnerDetailsEntity.java
#	src/main/java/net/hostsharing/hsadminng/hs/office/partner/HsOfficePartnerEntity.java
#	src/main/java/net/hostsharing/hsadminng/hs/office/relation/HsOfficeRelationEntity.java
#	src/main/java/net/hostsharing/hsadminng/hs/office/sepamandate/HsOfficeSepaMandateEntity.java
#	src/main/java/net/hostsharing/hsadminng/rbac/rbacdef/InsertTriggerGenerator.java
#	src/main/java/net/hostsharing/hsadminng/rbac/rbacdef/RbacRestrictedViewGenerator.java
#	src/main/resources/api-definition/hs-office/hs-office-partner-schemas.yaml
#	src/main/resources/db/changelog/123-test-package-rbac.sql
#	src/main/resources/db/changelog/133-test-domain-rbac.sql
#	src/main/resources/db/changelog/223-hs-office-relation-rbac.md
#	src/main/resources/db/changelog/223-hs-office-relation-rbac.sql
#	src/main/resources/db/changelog/228-hs-office-relation-test-data.sql
#	src/main/resources/db/changelog/230-hs-office-partner.sql
#	src/main/resources/db/changelog/233-hs-office-partner-rbac.sql
#	src/main/resources/db/changelog/238-hs-office-partner-test-data.sql
#	src/test/java/net/hostsharing/hsadminng/hs/office/migration/ImportOfficeData.java
#	src/test/java/net/hostsharing/hsadminng/hs/office/partner/HsOfficePartnerControllerAcceptanceTest.java
#	src/test/java/net/hostsharing/hsadminng/hs/office/partner/HsOfficePartnerControllerRestTest.java
#	src/test/java/net/hostsharing/hsadminng/hs/office/partner/HsOfficePartnerRepositoryIntegrationTest.java
#	src/test/java/net/hostsharing/hsadminng/hs/office/relation/HsOfficeRelationControllerAcceptanceTest.java
#	src/test/java/net/hostsharing/hsadminng/hs/office/relation/HsOfficeRelationRepositoryIntegrationTest.java
2024-03-22 15:16:34 +01:00
Michael Hoennig
74b20ed86c fix partner rbac system and tests 2024-03-19 09:06:05 +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
Michael Hoennig
e422db9081 Merge remote-tracking branch 'origin/master' into remove-direct-partner-person-and-contact
# Conflicts:
#	src/main/java/net/hostsharing/hsadminng/hs/office/debitor/HsOfficeDebitorEntity.java
#	src/main/java/net/hostsharing/hsadminng/hs/office/partner/HsOfficePartnerEntity.java
#	src/main/resources/db/changelog/050-rbac-base.sql
#	src/main/resources/db/changelog/058-rbac-generators.sql
#	src/main/resources/db/changelog/113-test-customer-rbac.sql
#	src/main/resources/db/changelog/123-test-package-rbac.sql
#	src/main/resources/db/changelog/133-test-domain-rbac.sql
#	src/main/resources/db/changelog/203-hs-office-contact-rbac.sql
#	src/main/resources/db/changelog/213-hs-office-person-rbac.sql
#	src/main/resources/db/changelog/223-hs-office-relationship-rbac.md
#	src/main/resources/db/changelog/223-hs-office-relationship-rbac.sql
#	src/main/resources/db/changelog/233-hs-office-partner-rbac.sql
#	src/main/resources/db/changelog/243-hs-office-bankaccount-rbac.md
#	src/main/resources/db/changelog/243-hs-office-bankaccount-rbac.sql
#	src/main/resources/db/changelog/253-hs-office-sepamandate-rbac.sql
#	src/main/resources/db/changelog/273-hs-office-debitor-rbac.sql
#	src/main/resources/db/changelog/303-hs-office-membership-rbac.sql
#	src/test/java/net/hostsharing/hsadminng/hs/office/contact/HsOfficeContactRepositoryIntegrationTest.java
#	src/test/java/net/hostsharing/hsadminng/hs/office/debitor/HsOfficeDebitorRepositoryIntegrationTest.java
#	src/test/java/net/hostsharing/hsadminng/hs/office/migration/ImportOfficeData.java
#	src/test/java/net/hostsharing/hsadminng/hs/office/partner/HsOfficePartnerRepositoryIntegrationTest.java
#	src/test/java/net/hostsharing/hsadminng/hs/office/person/HsOfficePersonRepositoryIntegrationTest.java
#	src/test/java/net/hostsharing/hsadminng/hs/office/relationship/HsOfficeRelationshipRepositoryIntegrationTest.java
2024-03-11 12:57:32 +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
Michael Hoennig
6a01002a05 all direct partner tests green 2024-02-19 13:21:19 +01:00
Michael Hoennig
84ce1e34bf Merge branch 'fix-findPermissionId' into remove-direct-partner-person-and-contact
# Conflicts:
#	src/main/resources/db/changelog/050-rbac-base.sql
2024-02-16 16:55:58 +01:00
Michael Hoennig
36654a69d8 fix misleading findPermissionId naming 2024-02-16 16:48:37 +01:00
Michael Hoennig
4c6b7beb2d Schema-F um Root-Objekt Beziehungen zu weiteren Objekten ergänzt 2024-02-07 13:47:46 +01:00
Michael Hoennig
048551b34b scribbled draft for cookie cutter approach (Schema-F) for permissons/roles/grants 2024-02-06 12:46:41 +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
0b60b9f0ff introduces agent+guest role for role-system around debitor+partner 2022-10-12 15:48:56 +02:00
Michael Hoennig
7d8d6bb495 improved documentation for using Podman with IntelliJ IDEA 2022-09-14 13:02:57 +02:00
Michael Hoennig
a117258085 replace unixuser test entities with domain 2022-08-31 15:07:25 +02:00
Michael Hoennig
8045b66324 rename currentUserId->currentUserUuid + currentSubjectIds->currentSubjectsUuids 2022-08-30 09:18:52 +02:00
Michael Hoennig
322736cd01 creating and viewing grants 2022-08-13 16:47:36 +02:00
Michael Hoennig
eeab68d63a API-first with openapiprocessor and modelmapper 2022-08-08 17:12:51 +02:00
Michael Hoennig
86128f5994 test alignment and code cleanup 2022-08-05 15:39:23 +02:00
Michael Hoennig
433d0e19f5 add Gradle Java toolchain and improve documentation 2022-08-05 13:10:11 +02:00
Michael Hoennig
bf3da34d32 add adr for row-level-security 2022-08-04 10:51:21 +02:00
Michael Hoennig
2eb8b70517 add glossary 2022-08-04 10:49:31 +02:00
Michael Hoennig
5d4fb85383 TODO tracking 2022-07-31 15:16:49 +02:00
Michael Hoennig
1463807b89 initial test-concept documentation 2022-07-30 18:23:18 +02:00
Michael Hoennig
4edff1c2f0 move rbac.md to doc folder 2022-07-29 09:20:18 +02:00