Skip to content
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

Merged
merged 20 commits into from
Dec 21, 2022

Conversation

carlosrodrigues94
Copy link
Contributor

@carlosrodrigues94 carlosrodrigues94 commented Oct 4, 2022

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

Further comments

TC-69

@codecov
Copy link

codecov bot commented Oct 4, 2022

Codecov Report

Merging #27000 (e5137ed) into develop (be41f2a) will increase coverage by 0.89%.
The diff coverage is n/a.

Impacted file tree graph

@@             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     
Flag Coverage Δ
e2e 41.41% <ø> (+0.89%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

@debdutdeb debdutdeb changed the title fix: keycloak oauth channels map [FIX] keycloak oauth channels map Oct 4, 2022
@carlosrodrigues94 carlosrodrigues94 force-pushed the fix/keycloak_oauth_channels_map branch from 5c5fe4b to 930c2cd Compare November 3, 2022 14:03
@carlosrodrigues94 carlosrodrigues94 force-pushed the fix/keycloak_oauth_channels_map branch from ae193fc to 5990323 Compare November 10, 2022 13:41
@matheusbsilva137 matheusbsilva137 changed the title [FIX] keycloak oauth channels map [FIX] New users aren't mapped to rooms with OAuth groups/channels map Nov 16, 2022
@matheusbsilva137 matheusbsilva137 added this to the 5.4.0 milestone Nov 16, 2022
Copy link
Contributor

@pierre-lehnen-rc pierre-lehnen-rc left a 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.

…t/hooks/index.ts

Co-authored-by: Pierre Lehnen <55164754+pierre-lehnen-rc@users.noreply.github.com>
@carlosrodrigues94 carlosrodrigues94 requested a review from a team as a code owner November 23, 2022 14:14
@carlosrodrigues94
Copy link
Contributor Author

Needs review from federation team as well.

this change it was already aligned with @MarcosSpessatto

@ggazzo ggazzo added this to the 6.0.0 milestone Nov 25, 2022
@dionisio-bot dionisio-bot bot added stat: ready to merge PR tested and approved waiting for merge and removed stat: conflict labels Nov 29, 2022
@matheusbsilva137 matheusbsilva137 force-pushed the fix/keycloak_oauth_channels_map branch from 17490f4 to 5eff5ef Compare December 16, 2022 15:40
@matheusbsilva137 matheusbsilva137 dismissed pierre-lehnen-rc’s stale review December 21, 2022 15:12

The requested changes have been applied and approved by the Federation team

@kodiakhq kodiakhq bot merged commit 224f041 into develop Dec 21, 2022
@kodiakhq kodiakhq bot deleted the fix/keycloak_oauth_channels_map branch December 21, 2022 18:18
gabriellsh added a commit that referenced this pull request Dec 21, 2022
…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)
@alvaropmello alvaropmello modified the milestones: 6.0.0, 5.4.2 Dec 23, 2022
sampaiodiego pushed a commit that referenced this pull request Jan 24, 2023
…#27000)

Co-authored-by: Matheus Barbosa Silva <36537004+matheusbsilva137@users.noreply.github.com>
@sampaiodiego sampaiodiego mentioned this pull request Jan 24, 2023
@sampaiodiego sampaiodiego mentioned this pull request Feb 17, 2023
@sampaiodiego sampaiodiego mentioned this pull request Mar 9, 2023
13 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
squad: team-collab stat: ready to merge PR tested and approved waiting for merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants