-
Notifications
You must be signed in to change notification settings - Fork 325
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[WPB-5389] Guard user connection requests by team-level federation se…
…ttings (#3774) * Define the new user connection request error * An effect utility to check team federation * Perform team federation checks on the calling side * Formatting the code * Introduce 1-1 conv test setup helpers * Test: Migrate "Remote connections: mutual Connect - local action then remote action" * Test: Migrate "Remote connections: mutual Connect - remote action then local action" This test is covered by the `testConnectWithRemoteUser` test * [feat] move testRemoteUserGetsDeleted to new integration testsuite * Test utility to assert on connection status * Test: Migrate "Remote connections: ignore then accept" * Test: Migrate "Remote connections: ignore, remote cancels, then accept" * Test: Migrate "Remote connections: block then accept" * Test: Migrate "Remote connections: block, remote cancels, then accept" * Test: Migrate "Remote connections: send then cancel" * [feat] move testInternalGetConStatusesAll to new testsuite * Include the team ID in the fed connection request * [feat] move testConnectionLimits to new integration test suite * Revert the generalisation of 'ensureFederatesWith' * [fix] comment back in test that is still broken * Test: not federating with a remote team * Test: connection attempt under non-mutual federation * Test: connect under allow-all mutual federation * Test: connect under allow-dynamic mutual federation * Test: connect under mixed federation-allow policies * Add a changelog * Remove an unused fed client argument in tests * fixup! Introduce 1-1 conv test setup helpers --------- Co-authored-by: Magnus Viernickel <[email protected]>
- Loading branch information
1 parent
e39b966
commit 3e9e92d
Showing
32 changed files
with
689 additions
and
358 deletions.
There are no files selected for viewing
1 change: 1 addition & 0 deletions
1
changelog.d/2-features/WPB-5389-team-level-federation-guarded-user-connections
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Apply team-level federation policies when establishing and updating user connections |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -106,6 +106,7 @@ library | |
Test.B2B | ||
Test.Brig | ||
Test.Client | ||
Test.Connection | ||
Test.Conversation | ||
Test.Demo | ||
Test.Errors | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.