Compare commits

..

3 Commits

Author SHA1 Message Date
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
2 changed files with 5 additions and 2 deletions

View File

@ -111,8 +111,8 @@ class HsOfficeCoopSharesTransactionRepositoryIntegrationTest extends ContextBase
.map(s -> s.replace("hs_office_", ""))
.containsExactlyInAnyOrder(Array.fromFormatted(
initialGrantNames,
"{ grant perm:coopsharestransaction#temprefB:SELECT to role:membership#M-1000101.admin by system and assume }",
"{ grant perm:coopsharestransaction#temprefB:UPDATE to role:membership#M-1000101.admin by system and assume }",
"{ grant perm:coopsharestransaction#temprefB:SELECT to role:membership#M-1000101:ADMIN by system and assume }",
"{ grant perm:coopsharestransaction#temprefB:UPDATE to role:membership#M-1000101:ADMIN by system and assume }",
null));
}

View File

@ -117,6 +117,9 @@ class HsOfficeMembershipRepositoryIntegrationTest extends ContextBasedTestWithCl
.map(s -> s.replace("hs_office_", ""))
.containsExactlyInAnyOrder(Array.fromFormatted(
initialGrantNames,
// insert
"{ grant perm:membership#M-1000117:INSERT>coopassetstransaction to role:membership#M-1000117:ADMIN by system and assume }",
"{ grant perm:membership#M-1000117:INSERT>coopsharestransaction to role:membership#M-1000117:ADMIN by system and assume }",
// owner
"{ grant perm:membership#M-1000117:DELETE to role:membership#M-1000117:OWNER by system and assume }",