From d816275776acbe3273f5b45595bc1c367453db27 Mon Sep 17 00:00:00 2001 From: Michael Hoennig Date: Sat, 30 Mar 2024 13:29:25 +0100 Subject: [PATCH] fix missing insert perm grants --- .../HsOfficeMembershipRepositoryIntegrationTest.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/test/java/net/hostsharing/hsadminng/hs/office/membership/HsOfficeMembershipRepositoryIntegrationTest.java b/src/test/java/net/hostsharing/hsadminng/hs/office/membership/HsOfficeMembershipRepositoryIntegrationTest.java index f6f7e518..64ef6803 100644 --- a/src/test/java/net/hostsharing/hsadminng/hs/office/membership/HsOfficeMembershipRepositoryIntegrationTest.java +++ b/src/test/java/net/hostsharing/hsadminng/hs/office/membership/HsOfficeMembershipRepositoryIntegrationTest.java @@ -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 }",