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] LDAP "Sync Roles" option doesn't work for custom roles #26842

Merged
merged 8 commits into from
Nov 19, 2022

Conversation

LucianoPierdona
Copy link
Contributor

@LucianoPierdona LucianoPierdona commented Sep 9, 2022

Proposed changes (including videos or screenshots)

Previously the sync of custom fields on LDAP wasn't working because the check was assuming that the name of the role is the same value from _id, which is the same for initial roles, but different for custom.

Issue(s)

Steps to test or reproduce

Further comments

TC-38

@codecov
Copy link

codecov bot commented Sep 9, 2022

Codecov Report

Merging #26842 (f1cb52b) into develop (f654860) will decrease coverage by 0.07%.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop   #26842      +/-   ##
===========================================
- Coverage    41.38%   41.30%   -0.08%     
===========================================
  Files          812      812              
  Lines        17832    17832              
  Branches      1988     1988              
===========================================
- Hits          7379     7365      -14     
- Misses       10161    10182      +21     
+ Partials       292      285       -7     
Flag Coverage Δ
e2e 41.30% <ø> (-0.08%) ⬇️

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

@LucianoPierdona LucianoPierdona added this to the 5.3.0 milestone Sep 29, 2022
@LucianoPierdona LucianoPierdona removed this from the 5.3.0 milestone Oct 18, 2022
@LucianoPierdona LucianoPierdona added this to the 5.4.0 milestone Oct 31, 2022
@matheusbsilva137 matheusbsilva137 changed the title [FIX] LDAP Sync custom roles [FIX] LDAP "Sync Roles" option doesn't work for custom roles Nov 18, 2022
@dionisio-bot dionisio-bot bot added the stat: ready to merge PR tested and approved waiting for merge label Nov 18, 2022
@kodiakhq kodiakhq bot merged commit 90fe2ed into develop Nov 19, 2022
@kodiakhq kodiakhq bot deleted the fix/custom-roles-sync branch November 19, 2022 03:01
gabriellsh added a commit that referenced this pull request Nov 21, 2022
…age-ignore-reactivity

* 'develop' of github.com:RocketChat/Rocket.Chat: (23 commits)
  Chore: removing useEndpointData from license api (#26634)
  Chore: Create unique index for `E2EKey` field (#27301)
  [FIX] LDAP "Sync Roles" option doesn't work for custom roles (#26842)
  Chore: UserAvatar wrapper missing key in RoomForeword (#27300)
  Chore: Add deprecation warning to settings (#27295)
  Chore: Refactor LeaveTeam to Typescript (#27197)
  [FIX] Sidebar context menu in searchList (#23830)
  [NEW] Federation events coverage expansion (#27119)
  [FIX] Message Parser version upgrade (#27284)
  [FIX] Replace regex not compatible with safari (#27294)
  [NEW] Emphasis Elements (italic, strike and bold) in Message Parser Components (#27003)
  [FIX] Set default value "false" for global search. (#25568)
  Regression: Custom fields form not showing in user profile nor admin (#27244)
  [FIX] Sort RecordList items in REVERSE chronological order, not FORWARD (#27201)
  Chore: Remove unused css (#27289)
  Chore: also send thread to channel translations (#27242)
  [FIX] Marketplace app details page back-button behavior (#27062)
  Chore: Add tests for omni-jobs & add more context in system messages for jobs (#27048)
  Chore: Fix missing license for forks (#27258)
  i18n: Language update from LingoHub 🤖 on 2022-11-14Z (#27255)
  ...
@ggazzo ggazzo mentioned this pull request Dec 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants