Skip to content

Conversation

@blackheaven
Copy link
Contributor

https://wearezeta.atlassian.net/browse/WPB-18191

Checklist

  • Add a new entry in an appropriate subdirectory of changelog.d
  • Read and follow the PR guidelines

@blackheaven blackheaven changed the base branch from develop to gdifolco/WPB-18190_collaborator-delete-endpoint July 31, 2025 15:46
@zebot zebot added the ok-to-test Approved for running tests in CI, overrides not-ok-to-test if both labels exist label Jul 31, 2025
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@blackheaven blackheaven force-pushed the gdifolco/WPB-18191_collaborator-update-endpoint branch 2 times, most recently from 689dd19 to 252bc04 Compare August 4, 2025 08:32
@blackheaven blackheaven changed the title Gdifolco/wpb 18191 collaborator update endpoint WPB-18191: Add route to collaborator permissions from team Aug 4, 2025
@blackheaven blackheaven force-pushed the gdifolco/WPB-18191_collaborator-update-endpoint branch from 252bc04 to ae16812 Compare August 5, 2025 11:07
@blackheaven blackheaven force-pushed the gdifolco/WPB-18190_collaborator-delete-endpoint branch from 8e873f3 to 78aea4e Compare August 5, 2025 12:32
@blackheaven blackheaven force-pushed the gdifolco/WPB-18191_collaborator-update-endpoint branch from ae16812 to a2cfeab Compare August 5, 2025 12:34
@blackheaven blackheaven marked this pull request as ready for review August 5, 2025 12:35
@blackheaven blackheaven requested review from a team August 5, 2025 12:35
@blackheaven blackheaven force-pushed the gdifolco/WPB-18191_collaborator-update-endpoint branch from a2cfeab to a423074 Compare August 5, 2025 14:53
@blackheaven blackheaven force-pushed the gdifolco/WPB-18190_collaborator-delete-endpoint branch from 83eb7a1 to c1f5acf Compare August 6, 2025 16:54
@blackheaven blackheaven force-pushed the gdifolco/WPB-18191_collaborator-update-endpoint branch from 4fa59cc to 7a2e3ff Compare August 6, 2025 17:54
@blackheaven
Copy link
Contributor Author

I cannot reproduce the error, which seems not related to my changes.

@blackheaven blackheaven force-pushed the gdifolco/WPB-18190_collaborator-delete-endpoint branch from c1f5acf to 0969d6d Compare August 13, 2025 16:05
@blackheaven blackheaven force-pushed the gdifolco/WPB-18191_collaborator-update-endpoint branch from 7a2e3ff to 607cfcf Compare August 13, 2025 16:10
@blackheaven blackheaven self-assigned this Aug 14, 2025
@blackheaven blackheaven force-pushed the gdifolco/WPB-18190_collaborator-delete-endpoint branch from c5e0a60 to 30c92d0 Compare August 19, 2025 15:29
@blackheaven blackheaven force-pushed the gdifolco/WPB-18191_collaborator-update-endpoint branch from 607cfcf to 7d0a8c3 Compare August 21, 2025 10:37
@blackheaven
Copy link
Contributor Author

Does not seem related

timeout exceeded

@blackheaven blackheaven force-pushed the gdifolco/WPB-18190_collaborator-delete-endpoint branch from 32ad69b to 3160115 Compare August 28, 2025 18:23
@blackheaven blackheaven force-pushed the gdifolco/WPB-18191_collaborator-update-endpoint branch 2 times, most recently from 8d1a9b6 to aa0dcda Compare August 29, 2025 07:34
@blackheaven blackheaven force-pushed the gdifolco/WPB-18190_collaborator-delete-endpoint branch 2 times, most recently from 5eb2959 to c510050 Compare September 3, 2025 12:16
@blackheaven blackheaven force-pushed the gdifolco/WPB-18191_collaborator-update-endpoint branch from aa0dcda to 280606b Compare September 5, 2025 09:02
@blackheaven blackheaven force-pushed the gdifolco/WPB-18190_collaborator-delete-endpoint branch from 741ffd8 to 0ec3937 Compare September 5, 2025 16:06
@blackheaven blackheaven force-pushed the gdifolco/WPB-18191_collaborator-update-endpoint branch 3 times, most recently from bea7d22 to f114414 Compare September 12, 2025 13:29
@blackheaven blackheaven force-pushed the gdifolco/WPB-18190_collaborator-delete-endpoint branch 2 times, most recently from 6ab2eaa to 9986c2f Compare September 24, 2025 08:49
Base automatically changed from gdifolco/WPB-18190_collaborator-delete-endpoint to develop September 24, 2025 10:16
@blackheaven blackheaven force-pushed the gdifolco/WPB-18191_collaborator-update-endpoint branch from b2a155d to be7caa9 Compare September 24, 2025 10:21
@blackheaven blackheaven force-pushed the gdifolco/WPB-18191_collaborator-update-endpoint branch 4 times, most recently from d19e72b to 3bb74ac Compare October 16, 2025 19:53
@blackheaven blackheaven force-pushed the gdifolco/WPB-18191_collaborator-update-endpoint branch from 3bb74ac to 143bc42 Compare October 24, 2025 08:50
@blackheaven blackheaven requested a review from fisx October 29, 2025 13:15
Comment on lines +1333 to +1352
P.debug $
Log.field "targets" (toByteString rusr)
. Log.field "action" (Log.val "Teams.updateTeamCollaborator")
zusrMember <- E.getTeamMember tid (tUnqualified lusr)
void $ permissionCheck UpdateTeamCollaborator zusrMember
when (Set.null $ Set.intersection (Set.fromList [Collaborator.CreateTeamConversation, Collaborator.ImplicitConnection]) perms) $
removeFromConvsAndPushConvLeaveEvent lusr Nothing tid rusr
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why are these things happening in galley, not in wire-subsystems? (i'm ok with leaving it here, especially if the answer is "we'd have to make major modifications to some canonical interpreters if we don't leave this here. just curious.)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IIRC, we discussed with Leif months ago, but we can move it, where should it goes?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just into removeFromConvsAndPushConvLeaveEvent? but as i said, it may be a lot of work, in that case please don't.

@blackheaven blackheaven force-pushed the gdifolco/WPB-18191_collaborator-update-endpoint branch from a94d77e to 6ae4d69 Compare November 12, 2025 17:12
@blackheaven blackheaven force-pushed the gdifolco/WPB-18191_collaborator-update-endpoint branch from 6ae4d69 to 0c12d7a Compare November 12, 2025 17:41
@blackheaven blackheaven requested a review from fisx November 12, 2025 20:31
@blackheaven blackheaven merged commit fcb45ad into develop Nov 13, 2025
10 checks passed
@blackheaven blackheaven deleted the gdifolco/WPB-18191_collaborator-update-endpoint branch November 13, 2025 15:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ok-to-test Approved for running tests in CI, overrides not-ok-to-test if both labels exist

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants