move Parter+Debitor person+contact to related Relationsship #20

Merged
hsh-michaelhoennig merged 101 commits from remove-direct-partner-person-and-contact into master 2024-03-28 12:15:14 +01:00
No description provided.
hsh-michaelhoennig added 40 commits 2024-02-22 09:08:47 +01:00
2df5ddd87e Merge branch 'add-trigger-object-to-rbacgrant' into remove-direct-partner-person-and-contact
# Conflicts:
#	src/main/resources/db/changelog/233-hs-office-partner-rbac.sql
#	src/test/java/net/hostsharing/hsadminng/hs/office/migration/ImportOfficeData.java
84ce1e34bf Merge branch 'fix-findPermissionId' into remove-direct-partner-person-and-contact
# Conflicts:
#	src/main/resources/db/changelog/050-rbac-base.sql
hsh-michaelhoennig added 5 commits 2024-03-12 16:34:29 +01:00
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
hsh-michaelhoennig added 1 commit 2024-03-12 17:41:10 +01:00
hsh-michaelhoennig added 1 commit 2024-03-13 17:02:58 +01:00
hsh-michaelhoennig force-pushed remove-direct-partner-person-and-contact from 8b9f02e87f to 5beef1b3df 2024-03-14 09:18:00 +01:00 Compare
hsh-michaelhoennig force-pushed remove-direct-partner-person-and-contact from 5beef1b3df to 266cd16b52 2024-03-15 06:18:24 +01:00 Compare
hsh-michaelhoennig added 2 commits 2024-03-15 09:56:58 +01:00
hsh-michaelhoennig added 3 commits 2024-03-16 10:51:51 +01:00
hsh-michaelhoennig force-pushed remove-direct-partner-person-and-contact from fcc5264b9c to 74b20ed86c 2024-03-19 09:06:23 +01:00 Compare
hsh-michaelhoennig force-pushed remove-direct-partner-person-and-contact from 0737893401 to bb3f979273 2024-03-20 09:10:43 +01:00 Compare
hsh-michaelhoennig added 2 commits 2024-03-20 14:09:24 +01:00
hsh-michaelhoennig force-pushed remove-direct-partner-person-and-contact from b115dcfb57 to fa46f339a8 2024-03-21 12:46:20 +01:00 Compare
hsh-michaelhoennig added 1 commit 2024-03-21 17:14:22 +01:00
hsh-michaelhoennig added 1 commit 2024-03-22 06:32:49 +01:00
hsh-michaelhoennig added 1 commit 2024-03-22 06:40:20 +01:00
hsh-michaelhoennig added 4 commits 2024-03-22 09:44:40 +01:00
hsh-michaelhoennig added 8 commits 2024-03-22 17:33:53 +01:00
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
hsh-michaelhoennig added 3 commits 2024-03-23 11:35:16 +01:00
hsh-michaelhoennig added 1 commit 2024-03-23 11:38:33 +01:00
hsh-michaelhoennig added 1 commit 2024-03-23 11:42:04 +01:00
hsh-michaelhoennig added 2 commits 2024-03-24 11:12:18 +01:00
hsh-michaelhoennig force-pushed remove-direct-partner-person-and-contact from 20dfbdfdf6 to 29c7708188 2024-03-25 06:15:06 +01:00 Compare
hsh-michaelhoennig added 2 commits 2024-03-25 09:02:43 +01:00
hsh-michaelhoennig added 4 commits 2024-03-26 09:48:22 +01:00
hsh-michaelhoennig added 2 commits 2024-03-26 12:17:53 +01:00
f0472a5dc4 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/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/test/java/net/hostsharing/hsadminng/hs/office/membership/HsOfficeMembershipControllerAcceptanceTest.java
hsh-michaelhoennig added 1 commit 2024-03-27 09:31:07 +01:00
hsh-michaelhoennig added 2 commits 2024-03-27 14:14:22 +01:00
hsh-michaelhoennig added 1 commit 2024-03-27 18:17:17 +01:00
hsh-michaelhoennig changed title from WIP: move Parter+Debitor person+contact to related Relationsship to move Parter+Debitor person+contact to related Relationsship 2024-03-27 20:40:35 +01:00
hsh-michaelhoennig added 1 commit 2024-03-28 09:25:13 +01:00
hsh-michaelhoennig force-pushed remove-direct-partner-person-and-contact from 6639c57112 to 3990b8c278 2024-03-28 10:15:21 +01:00 Compare
hsh-michaelhoennig force-pushed remove-direct-partner-person-and-contact from 3990b8c278 to e53eb52827 2024-03-28 10:17:12 +01:00 Compare
hsh-michaelhoennig force-pushed remove-direct-partner-person-and-contact from e53eb52827 to 37c1886845 2024-03-28 10:18:55 +01:00 Compare
hsh-michaelhoennig added 1 commit 2024-03-28 10:28:22 +01:00
hsh-timotheuspokorra requested review from hsh-timotheuspokorra 2024-03-28 10:29:06 +01:00
hsh-timotheuspokorra reviewed 2024-03-28 10:33:03 +01:00
@ -63,1 +62,4 @@
.withIdentityView(SQL.projection("iban"))
.withUpdatableColumns("holder", "iban", "bic")
.toRole("global", GUEST).grantPermission(INSERT)

besser jeder

besser jeder
hsh-michaelhoennig marked this conversation as resolved
hsh-timotheuspokorra reviewed 2024-03-28 10:46:41 +01:00
@ -9,3 +9,3 @@
grantedByRoleIdName:
type: string
grantedByRoleUuid:
userGrantsByRoleUuid:

falsch

falsch
hsh-michaelhoennig marked this conversation as resolved
hsh-timotheuspokorra reviewed 2024-03-28 10:47:56 +01:00
@ -220,3 +221,3 @@
create or replace function currentSubjects()
returns varchar(63)[]
returns varchar(127)[]

alle assumed roles 1023

alle assumed roles 1023
hsh-timotheuspokorra reviewed 2024-03-28 10:48:03 +01:00
@ -224,3 +225,3 @@
language plpgsql as $$
declare
assumedRoles varchar(63)[];
assumedRoles varchar(127)[];

alle assumed roles 1023

alle assumed roles 1023
hsh-michaelhoennig marked this conversation as resolved
hsh-timotheuspokorra reviewed 2024-03-28 10:48:12 +01:00
@ -231,2 +231,3 @@
return assumedRoles;
else
return array [currentUser()]::varchar(63)[];
return array [currentUser()]::varchar(127)[];

alle assumed roles 1023

alle assumed roles 1023
hsh-michaelhoennig marked this conversation as resolved
hsh-timotheuspokorra approved these changes 2024-03-28 10:58:51 +01:00
hsh-timotheuspokorra left a comment
Member

das glaubt uns keiner

das glaubt uns keiner
hsh-michaelhoennig added 1 commit 2024-03-28 12:11:50 +01:00
hsh-michaelhoennig merged commit d3ca2b7e23 into master 2024-03-28 12:15:14 +01:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: hostsharing/hs.hsadmin.ng#20
No description provided.