-
Notifications
You must be signed in to change notification settings - Fork 334
WPB-18191: Add route to collaborator permissions from team #4697
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WPB-18191: Add route to collaborator permissions from team #4697
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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
|
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
|
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
6ab2eaa to
9986c2f
Compare
b2a155d to
be7caa9
Compare
d19e72b to
3bb74ac
Compare
3bb74ac to
143bc42
Compare
| 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 |
There was a problem hiding this comment.
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.)
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.
a94d77e to
6ae4d69
Compare
Co-authored-by: Matthias Fischmann <[email protected]>
6ae4d69 to
0c12d7a
Compare
https://wearezeta.atlassian.net/browse/WPB-18191
Checklist
changelog.d