RBAC generator with conditional grants used for REPRESENTATIVE-Relation #33

Merged
hsh-michaelhoennig merged 31 commits from rbac-generator-with-conditional-grants into master 2024-04-08 11:16:07 +02:00

31 Commits

Author SHA1 Message Date
Michael Hoennig
3998341a5b Merge remote-tracking branch 'origin/master' into rbac-generator-with-conditional-grants 2024-04-08 10:28:43 +02:00
Michael Hoennig
5051198e00 always generate dynacmi RBAC to doc/temp with explicit name 2024-04-08 08:38:31 +02:00
Michael Hoennig
56f316ef80 CaseDef extends ColumnValue 2024-04-07 13:20:44 +02:00
Michael Hoennig
1e6b19c337 re-generate RBAC diagrams 2024-04-07 13:17:39 +02:00
Michael Hoennig
25823342e7 avoid extra space in headline of generated Markdown 2024-04-07 13:13:49 +02:00
Michael Hoennig
d565099f3b remove unnecessary method, which had no effect anyway 2024-04-07 12:47:17 +02:00
Michael Hoennig
f1bbc85ec6 amendmends after self-review 2024-04-07 12:37:44 +02:00
Michael Hoennig
7559b8ced3 ignore self-representative relation in ImportOfficeData 2024-04-07 12:26:13 +02:00
Michael Hoennig
cbd8c3e4ff amends tests according to changed rbac structure and some fixes, ImportOfficeData not yet working 2024-04-05 18:22:52 +02:00
Michael Hoennig
a840f910bb add condition case to generated Markdown headline 2024-04-05 14:49:32 +02:00
Michael Hoennig
b9706ee4c3 properly generate imported conditional rbac rules (partner -> partnerRel usingDefaultCase) 2024-04-05 12:10:30 +02:00
Michael Hoennig
c80dfc2fa8 cleaner version with conditional PostgreSQL generation (without DEBITOR-case) 2024-04-05 09:54:39 +02:00
Michael Hoennig
001ab652c7 working version with conditional generation 2024-04-04 10:00:13 +02:00
Michael Hoennig
92086d8634 scribbled the DSL for switchOnColumn+inCaseOf 2024-04-03 10:53:28 +02:00
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
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