-
Notifications
You must be signed in to change notification settings - Fork 10.9k
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
[FIX] New users aren't mapped to rooms with OAuth groups/channels map #27000
Conversation
Codecov Report
@@ Coverage Diff @@
## develop #27000 +/- ##
===========================================
+ Coverage 40.52% 41.41% +0.89%
===========================================
Files 844 817 -27
Lines 17910 17391 -519
Branches 1988 1913 -75
===========================================
- Hits 7258 7203 -55
+ Misses 10396 9934 -462
+ Partials 256 254 -2
Flags with carried forward coverage won't be shown. Click here to find out more. |
apps/meteor/app/federation-v2/server/infrastructure/rocket-chat/hooks/index.ts
Outdated
Show resolved
Hide resolved
apps/meteor/app/federation-v2/server/infrastructure/rocket-chat/hooks/index.ts
Outdated
Show resolved
Hide resolved
5c5fe4b
to
930c2cd
Compare
ae193fc
to
5990323
Compare
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.
Change the federation.beforeAddUserAToRoom
definition to list Inviter as optional, matching the definition of the addUserToRoom function.
apps/meteor/app/federation-v2/server/infrastructure/rocket-chat/hooks/index.ts
Outdated
Show resolved
Hide resolved
apps/meteor/app/federation-v2/server/infrastructure/rocket-chat/hooks/index.ts
Outdated
Show resolved
Hide resolved
…t/hooks/index.ts Co-authored-by: Pierre Lehnen <55164754+pierre-lehnen-rc@users.noreply.github.com>
Co-authored-by: Pierre Lehnen <55164754+pierre-lehnen-rc@users.noreply.github.com>
this change it was already aligned with @MarcosSpessatto |
…nto fix/keycloak_oauth_channels_map
…RocketChat/Rocket.Chat into fix/keycloak_oauth_channels_map
…nto fix/keycloak_oauth_channels_map
17490f4
to
5eff5ef
Compare
apps/meteor/app/federation-v2/server/infrastructure/rocket-chat/hooks/index.ts
Outdated
Show resolved
Hide resolved
The requested changes have been applied and approved by the Federation team
…discussion * 'develop' of github.com:RocketChat/Rocket.Chat: [FIX] E2EE initial banner not showing (#27574) Chore: Remove Sidebar from Blaze (#27571) Regression: Add tshow to composer params (#27602) [FIX] New users aren't mapped to rooms with OAuth groups/channels map (#27000) [NEW] New Message Composer (#27566) Chore: Fix homepage grid items style (#27527) Chore: TwoFactorPass Modals icon misalignment (#27591) Chore: Remove old tooltip usage (#26882) Bump version to 6.0.0-develop (#27598)
…#27000) Co-authored-by: Matheus Barbosa Silva <36537004+matheusbsilva137@users.noreply.github.com>
Proposed changes (including videos or screenshots)
This change deals with the problem with the new users coming from key cloak, this users were not being mapped to the correct channels on RC.
Issue(s)
Steps to test or reproduce
Setup a KeyCloak VM and configure it on Rocketchat
(https://docs.google.com/document/d/1cBohJ1XrLm6vFIdBkEo8sr7xI2huEBE-sCCxcDibZU0/edit)
enable the setting to map users to channels and login on RC using keycloak, you should be redirected to a channel.
Further comments
TC-69