WPB-18191: Add route to collaborator permissions from team#4697
Merged
blackheaven merged 4 commits intodevelopfrom Nov 13, 2025
Merged
WPB-18191: Add route to collaborator permissions from team#4697blackheaven merged 4 commits intodevelopfrom
blackheaven merged 4 commits intodevelopfrom
Conversation
blackheaven
commented
Jul 31, 2025
Contributor
Author
There was a problem hiding this comment.
689dd19 to
252bc04
Compare
252bc04 to
ae16812
Compare
8e873f3 to
78aea4e
Compare
ae16812 to
a2cfeab
Compare
a2cfeab to
a423074
Compare
83eb7a1 to
c1f5acf
Compare
4fa59cc to
7a2e3ff
Compare
Contributor
Author
|
I cannot reproduce the error, which seems not related to my changes. |
c1f5acf to
0969d6d
Compare
7a2e3ff to
607cfcf
Compare
c5e0a60 to
30c92d0
Compare
607cfcf to
7d0a8c3
Compare
Contributor
Author
|
Does not seem related
|
32ad69b to
3160115
Compare
8d1a9b6 to
aa0dcda
Compare
5eb2959 to
c510050
Compare
aa0dcda to
280606b
Compare
741ffd8 to
0ec3937
Compare
bea7d22 to
f114414
Compare
fisx
reviewed
Sep 12, 2025
6ab2eaa to
9986c2f
Compare
Base automatically changed from
gdifolco/WPB-18190_collaborator-delete-endpoint
to
develop
September 24, 2025 10:16
b2a155d to
be7caa9
Compare
d19e72b to
3bb74ac
Compare
3bb74ac to
143bc42
Compare
fisx
reviewed
Nov 12, 2025
fisx
reviewed
Nov 12, 2025
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 |
Contributor
There was a problem hiding this comment.
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.)
Contributor
Author
There was a problem hiding this comment.
IIRC, we discussed with Leif months ago, but we can move it, where should it goes?
Contributor
There was a problem hiding this comment.
just into removeFromConvsAndPushConvLeaveEvent? but as i said, it may be a lot of work, in that case please don't.
a94d77e to
6ae4d69
Compare
Co-authored-by: Matthias Fischmann <mf@zerobuzz.net>
6ae4d69 to
0c12d7a
Compare
fisx
approved these changes
Nov 13, 2025
This was referenced Nov 26, 2025
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
https://wearezeta.atlassian.net/browse/WPB-18191
Checklist
changelog.d