Michael Hoennig
|
9788205724
|
WIP
|
2024-03-12 08:31:50 +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 |
|
|
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
|
8111e092ee
|
WIP for fixing debitor RBAC definition + related references
|
2024-02-21 13:01:10 +01:00 |
|
Michael Hoennig
|
032ce6d16e
|
fix HsOfficeDebitorEntityPatcherUnitTest
|
2024-02-20 14:06:05 +01:00 |
|
Michael Hoennig
|
45aab03d36
|
remove partner from debitor and use debitorRel instead, WIP with working EntityUnitTest
|
2024-02-20 13:03:17 +01:00 |
|
Michael Hoennig
|
82b7a00dd2
|
amend HsOfficePersonControllerAcceptanceTest assertion
|
2024-02-19 14:18:48 +01:00 |
|
Michael Hoennig
|
b61bcea62c
|
fix ImportOfficeData test data+assertions
|
2024-02-19 13:53:56 +01:00 |
|
Michael Hoennig
|
6a01002a05
|
all direct partner tests green
|
2024-02-19 13:21:19 +01:00 |
|
Michael Hoennig
|
717bdca948
|
WIP
|
2024-02-16 17:04:48 +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
|
85ad05a77e
|
improve RbacGrantsMermaidService formatting
|
2024-02-15 17:20:50 +01:00 |
|
Michael Hoennig
|
fb00b36b2f
|
build graph with Grant nodes and show uuid in RbacGrantsMermaidService
|
2024-02-15 16:04:48 +01:00 |
|
Michael Hoennig
|
5d9e81630b
|
add allGrantsFrom to RbacGrantsMermaidService
|
2024-02-14 11:10:21 +01:00 |
|
Michael Hoennig
|
188f5677f5
|
amend SepaMandate tests according to changed string representation
|
2024-02-14 09:50:48 +01:00 |
|
Michael Hoennig
|
dee12b8f08
|
multi line node formatting in RbacGrantsMermaidService
|
2024-02-13 17:55:16 +01:00 |
|
Michael Hoennig
|
9c03e7441f
|
add RbacGrantsMermaidService and related cleanup
|
2024-02-13 11:47:02 +01:00 |
|
Michael Hoennig
|
e272b5b2ae
|
amend test data to new grant structure (e.g. person with referrer but no guest+tenant roles)
|
2024-02-12 20:01:19 +01:00 |
|
Michael Hoennig
|
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
|
2024-02-12 18:22:10 +01:00 |
|
Michael Hoennig
|
fd1466c667
|
cleanup
|
2024-02-12 16:50:57 +01:00 |
|
Michael Hoennig
|
607a6c9424
|
references and on delete cascade
|
2024-02-12 16:21:01 +01:00 |
|
Michael Hoennig
|
db76a57807
|
add rbacgrants.grantedByTriggerOf (WIP: references and delete trigger/cascade still missing)
|
2024-02-12 15:38:31 +01:00 |
|
Michael Hoennig
|
201a8d34af
|
remove precondition checks, now covered by checks in @BeforeEach and @AfterEach
|
2024-02-12 13:06:54 +01:00 |
|
Michael Hoennig
|
f71b769cb9
|
WIP: implement an endpoint to create a Mermaid flowchart with all grants of a given user
|
2024-02-12 12:27:02 +01:00 |
|
Michael Hoennig
|
370c00923c
|
WIP with fix for Relationship-internal grants and Mermaid dump for user grants
|
2024-02-11 18:17:44 +01:00 |
|
Michael Hoennig
|
443b9b4b8a
|
fix relationship-related grants (WIP)
|
2024-02-08 17:36:49 +01:00 |
|
Michael Hoennig
|
ecc91592b0
|
amend string representations in ImportOfficeData to new toString/toShortString implementations
|
2024-02-08 14:05:56 +01:00 |
|
Michael Hoennig
|
3261e92b2c
|
remove partner roles and amend grants accordingly
|
2024-02-08 13:28:13 +01:00 |
|
Michael Hoennig
|
4398299854
|
draft for debitor permission grant model (cleanup + with refundBankAccount)
|
2024-02-07 13:45:01 +01:00 |
|
Michael Hoennig
|
2bae7dee2f
|
draft for debitor permission grant model (reduced)
|
2024-02-07 12:33:49 +01:00 |
|
Michael Hoennig
|
a71a7b308f
|
draft for debitor permission grant model (reduced - WIP)
|
2024-02-07 12:25:47 +01:00 |
|
Michael Hoennig
|
1e7089702c
|
draft for debitor permission grant model (detailed)
|
2024-02-07 11:30:01 +01:00 |
|
Michael Hoennig
|
28c873212d
|
fixes for partner permission grant model
|
2024-02-07 11:29:49 +01:00 |
|
Michael Hoennig
|
b8cd633c5a
|
draft for partner permission grant model
|
2024-02-06 16:57:21 +01:00 |
|
Michael Hoennig
|
5ef16c11d5
|
improve error message for duplicate grant
|
2024-02-06 16:19:56 +01:00 |
|
Michael Hoennig
|
6a39991592
|
apply cookie cutter pattern to relationship
|
2024-02-06 16:19:33 +01:00 |
|
Michael Hoennig
|
528ad42fa6
|
improve toString in various entities and especially in HsOfficeDebitorEntity
|
2024-02-06 12:26:24 +01:00 |
|
Michael Hoennig
|
c987cba53c
|
WIP
|
2024-02-05 15:00:03 +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 |
|
Michael Hoennig
|
73ea6b8ccc
|
amended JPQL queries, application starts
|
2024-02-05 08:58:59 +01:00 |
|
Michael Hoennig
|
345359fd18
|
Liquibase scripts generally work, grants still have to be amended
|
2024-02-02 15:54:26 +01:00 |
|
Michael Hoennig
|
38487e0579
|
remove partner.person + partner.contact - WIP: compiles, but no more
|
2024-02-01 17:49:27 +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 |
|
Timotheus Pokorra
|
1c19afefa6
|
avoid error in openapi for ambigous mapping for findRelationshipRelatedToPersonUuid
|
2023-09-04 20:37:40 +02:00 |
|
Michael Hoennig
|
ddfabef9b7
|
hs_office_sepamandate_rv: fix missing update column reference
|
2022-10-29 11:42:03 +02:00 |
|
Michael Hoennig
|
b69af8fa57
|
remove spurious grant from debitor RBAC diagram
|
2022-10-28 17:11:12 +02:00 |
|
Michael Hoennig
|
cdc21f05ba
|
SpringBoot 3 upgrade
|
2022-10-28 15:57:06 +02:00 |
|
Michael Hoennig
|
64461fc4da
|
SEPA-Mandate signed date and patcher
|
2022-10-28 13:44:48 +02:00 |
|
Michael Hoennig
|
3b340a92ed
|
final ContextUnitTest.defineContextQueryString
|
2022-10-27 18:24:28 +02:00 |
|
Michael Hoennig
|
909312a8a1
|
test class naming convention
|
2022-10-27 11:45:53 +02:00 |
|
Michael Hoennig
|
dc1a17e915
|
use @PersistenceContext for EntityManager, not @Autowired
|
2022-10-27 11:00:12 +02:00 |
|
Michael Hoennig
|
1d0d2372ea
|
use simple @GeneratedValue and some code cleanup
|
2022-10-27 09:42:18 +02:00 |
|
Michael Hoennig
|
09c19649e4
|
avoid select before insert and map sub-entities in mapper
|
2022-10-26 16:44:51 +02:00 |
|
Michael Hoennig
|
d7eed08420
|
always run tests with locale en_US, no matter of system settings
|
2022-10-25 13:08:17 +02:00 |
|
Michael Hoennig
|
e5ec867819
|
get endpoints for coopassets+coopshares
|
2022-10-25 10:32:57 +02:00 |
|
Michael Hoennig
|
6f3c03e6b6
|
ModelMapper as Spring Bean
|
2022-10-23 13:00:00 +02:00 |
|
Michael Hoennig
|
0b0f57c176
|
map HsOfficeMembershipInsertResource via ModelMapper and Entity.setValidTo/From
|
2022-10-22 12:38:36 +02:00 |
|
Michael Hoennig
|
b3b70aaaf4
|
add HsOfficeMembershipEntityPatcher
|
2022-10-22 10:40:59 +02:00 |
|
Michael Hoennig
|
8eab3b7cd5
|
add HsOfficeMembershipControllerRestTest and make mainDebitorUuid mandatory
|
2022-10-21 18:43:15 +02:00 |
|
Michael Hoennig
|
7d200efbb5
|
TODO cleanup in HsOfficeContactRepository
|
2022-10-21 17:31:49 +02:00 |
|
Michael Hoennig
|
97fa23165c
|
simplified deletion of temp data in HsOfficeBankAccountControllerAcceptanceTest
|
2022-10-21 17:30:28 +02:00 |
|
Michael Hoennig
|
a39cf73cf0
|
hs-office-coopassets, no get API endpoints yet
|
2022-10-21 17:12:55 +02:00 |
|
Michael Hoennig
|
5ada0dae35
|
fixes instable debitor temp test data deletion and code coverage exclusions
|
2022-10-21 17:05:28 +02:00 |
|
Michael Hoennig
|
8864a17b2b
|
hs-office-debitor: test update of partner and bankaccount and fix null cases
|
2022-10-21 11:38:31 +02:00 |
|
Michael Hoennig
|
5a296e0a9f
|
improved ArchitectureTest rules and package refactoring
|
2022-10-21 08:01:17 +02:00 |
|
Michael Hoennig
|
e1895e3735
|
hs-office-partner-details
|
2022-10-20 20:11:31 +02:00 |
|
Michael Hoennig
|
dc0835fa25
|
hs-office-coopshares: add non-negative validation
|
2022-10-20 14:08:19 +02:00 |
|
Michael Hoennig
|
22bca20c49
|
code cleanup: remove unnecessary "raise notice"
|
2022-10-20 10:53:47 +02:00 |
|
Michael Hoennig
|
e2b6986d2b
|
hs-office-coopshares: refactored RestTest
|
2022-10-20 08:15:47 +02:00 |
|
Michael Hoennig
|
5f4f50a325
|
hs-office-coopshares: add validation + RestTest for Controller + improve test data
|
2022-10-20 07:41:48 +02:00 |
|
Michael Hoennig
|
ca0589d084
|
hs-office-coopshares: use only membership uuid in filter
|
2022-10-19 18:15:21 +02:00 |
|
Michael Hoennig
|
5764accbc5
|
add hs-office-coopshares API+controller
|
2022-10-19 17:14:27 +02:00 |
|
Michael Hoennig
|
c2dd3d8de9
|
add hs-office-coopshares entity+repository
|
2022-10-19 07:55:51 +02:00 |
|
Michael Hoennig
|
7376301ed4
|
use lower case in audit-log and rbac tables
|
2022-10-19 07:39:10 +02:00 |
|
Michael Hoennig
|
ea2d2c9100
|
add TestHsMembership instance
|
2022-10-18 18:53:18 +02:00 |
|
Michael Hoennig
|
cb47d526ac
|
add hs-office-coopshares rbac + test-data
|
2022-10-18 17:29:36 +02:00 |
|
Michael Hoennig
|
bec559c9c3
|
generateRbacRestrictedView for non-updateable tables
|
2022-10-18 17:29:10 +02:00 |
|
Michael Hoennig
|
61473abf68
|
add hs_office_coopsharestransaction table SQL
|
2022-10-18 14:44:10 +02:00 |
|