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

[IMPROVE] Add extra SAML settings to update room subs and add private room subs. #19489

Merged
merged 6 commits into from Jan 12, 2021

Conversation

tlskinneriv
Copy link
Contributor

@tlskinneriv tlskinneriv commented Nov 10, 2020

Proposed changes

Adds a SAML setting to support updating room subscriptions each time a user logs in via SAML.
Adds a SAML setting to support including private rooms in SAML updated subscriptions (whether initial or on each logon).

Issue(s)

How to test or reproduce

SAML settings screen under the "Behavior" section includes two new setting entries to support configuration: "Update Room Subscriptions on Each Login" and "Include Private Rooms in Room Subscription". Toggling these settings changes the behavior of the subscriptions during initial and/or subsequent user logins via SAML. By default, both of these settings are false, which does not change the current behavior of the SAML login.

Tested by setting up a local instance of Microsoft ADFS and configuring appropriate SAML assertions for both existing and new users. Tested each combination of settings with both new and existing users.

Screenshots

image

Types of changes

  • Bugfix (non-breaking change which fixes an issue)
  • Improvement (non-breaking change which improves a current function)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Hotfix (a major bugfix that has to be merged asap)
  • Documentation Update (if none of the other choices apply)

Checklist

  • I have read the CONTRIBUTING doc
  • I have signed the CLA
  • Lint and unit tests pass locally with my changes
  • I have added tests that prove my fix is effective or that my feature works (if applicable)
  • I have added necessary documentation (if applicable)
  • Any dependent changes have been merged and published in downstream modules

Changelog

Added a SAML setting to support updating room subscriptions each time a user logs in via SAML.
Added a SAML setting to support including private rooms in SAML updated subscriptions (whether initial or on each logon).

Further comments

@sampaiodiego
Copy link
Member

thanks @tlskinneriv for you contribution.. I'm sorry taking too long to review it. can you please fix the conflicts? we're planning including this on next release.

@tlskinneriv
Copy link
Contributor Author

@sampaiodiego resolved. thanks!

@pierre-lehnen-rc pierre-lehnen-rc self-assigned this Jan 12, 2021
@pierre-lehnen-rc pierre-lehnen-rc added this to the 3.11.0 milestone Jan 12, 2021
@sampaiodiego sampaiodiego merged commit 2e84ba3 into RocketChat:develop Jan 12, 2021
gabriellsh added a commit that referenced this pull request Jan 12, 2021
…info_page

* 'develop' of github.com:RocketChat/Rocket.Chat: (31 commits)
  [FIX] Normalize messages for users in endpoint chat.getStarredMessages (#19962)
  [FIX] minWidth in FileIcon to prevent layout to broke (#19942)
  [IMPROVE] Add extra SAML settings to update room subs and add private room subs (#19489)
  [IMPROVE] Rewrite User Dropdown and Kebab menu. (#20070)
  Language update from LingoHub 🤖 on 2021-01-11Z (#20146)
  [FIX] User registration updating wrong subscriptions (#20128)
  Rewrite Discussion Metric (#20117)
  [IMPROVE] Don't use global search by default (#19777)
  [FIX] Tabbar is opened (#20122)
  [FIX] Actions from User Info panel (#20073)
  Update password policy English translation (#20118)
  [FIX] Messages being updated when not required after user changes his profile (#20114)
  Custom fields not storing additional form values, fixing label and solving duplicated register. (#19953)
  Fix livechat room breaking after return (#20089)
  [FIX] Meteor errors not translating for toast messages (#19993)
  [FIX] Profile picture changing with username (#19992)
  [FIX] Search list filter (#19937)
  chore: Change return button (#20045)
  Rewrite : Message Thread metrics (#20051)
  [FIX] Omnichannel raw model importing meteor dependency (#20093)
  ...
@sampaiodiego sampaiodiego mentioned this pull request Feb 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants