-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch listing team members view to read from Teams schemas (#4802)
* Modify test utils to use teams test factories * Implement alternative routes for updating and removing membership * Implement teams read adapter for listing site members and invitees * Use new teams read adapter for Settings > People view * Add `invitation_id` column to `guest_invitations` schema * Add `invitation_id` to `GuestInvitation` schema and populate it * Sync guest invitation's invitation ID instead of team invitation * Expose guest invitation's invitation ID in sites list * Sync guest invitation invitation ID instead of team invitation in backfill * Update team consistency check to account for guest invitation IDs * Remove workaround for no invitation ID on guest invitation in `list_people` * Test listing pending invitations * Test listing memberships * Format * Test membership changes via new routes * Remove old membership altering routes * Clean up * Revert "Modify test utils to use teams test factories" This reverts commit 5eb8754. * Ensure test setup provisions teams for people listing * See if we can avoid exposing user id * Revert "See if we can avoid exposing user id" This reverts commit 672429b. * Fix faulty member label in people list * Fix sites listing for a case of pending invite with existing pin --------- Co-authored-by: hq1 <[email protected]>
- Loading branch information
Showing
15 changed files
with
291 additions
and
159 deletions.
There are no files selected for viewing
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
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
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
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
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.