[COMPASS-6066] Implement protectConnectionStrings option Created: 30/Aug/22  Updated: 29/Oct/23  Resolved: 02/Nov/22

Status: Closed
Project: Compass
Component/s: Preferences
Affects Version/s: None
Fix Version/s: 1.34.0

Type: Task Priority: Major - P3
Reporter: Anna Henningsen Assignee: Anna Henningsen
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by COMPASS-6262 Expose protectConnectionStrings in se... Closed
Documented
Related
is related to COMPASS-5738 Lookbehind regex in mongodb-connectio... Closed
is related to COMPASS-6161 Hide password during screenshares / Z... Closed
is related to COMPASS-6061 Implement enableDevTools option Closed
Epic Link: COMPASS-5816
Story Points: 5
Documentation Changes: Needed
Documentation Changes Summary:

Compass supports a "protectConnectionStrings" option now. If this option is set (in the global config file, on the command line, or after COMPASS-6262 in the settings UI), Compass will not expose credentials in connection strings for saved connections. This includes not being able to edit them in the connection form, not being able to copy the connection string in the UI, and the credentials being omitted when using the Export to Language functionality.

Sprint: Iteration Lobster, Iteration Manatee, Iteration Narwhal

 Description   

Note that this involves at least the connection form, export-to-language, and the connection export UI/CLI once those exist. We decided to not apply this to new connections created in the current session.

This includes adding e2e tests.



 Comments   
Comment by Githook User [ 01/Dec/22 ]

Author:

{'name': 'Anna Henningsen', 'email': 'anna.henningsen@mongodb.com', 'username': 'addaleax'}

Message: feat: add protectConnectionStrings option COMPASS-6066 (#3660)
Branch: update-compass-shell-to-shared-config
https://github.com/mongodb-js/compass/commit/beb1ccb2c5fb7c6cad3273bc4baead000ec8f9e3

Comment by Githook User [ 11/Nov/22 ]

Author:

{'name': 'Anna Henningsen', 'email': 'anna.henningsen@mongodb.com', 'username': 'addaleax'}

Message: feat: add protectConnectionStrings option COMPASS-6066 (#3660)
Branch: compass-6057-refactor-auto-updates
https://github.com/mongodb-js/compass/commit/beb1ccb2c5fb7c6cad3273bc4baead000ec8f9e3

Comment by Githook User [ 09/Nov/22 ]

Author:

{'name': 'Anna Henningsen', 'email': 'anna.henningsen@mongodb.com', 'username': 'addaleax'}

Message: feat: add protectConnectionStrings option COMPASS-6066 (#3660)
Branch: COMPASS-6064-implement-readonly-option
https://github.com/mongodb-js/compass/commit/beb1ccb2c5fb7c6cad3273bc4baead000ec8f9e3

Comment by Githook User [ 04/Nov/22 ]

Author:

{'name': 'Anna Henningsen', 'email': 'anna.henningsen@mongodb.com', 'username': 'addaleax'}

Message: feat: add protectConnectionStrings option COMPASS-6066 (#3660)
Branch: export-to-language-components
https://github.com/mongodb-js/compass/commit/beb1ccb2c5fb7c6cad3273bc4baead000ec8f9e3

Comment by Githook User [ 02/Nov/22 ]

Author:

{'name': 'Anna Henningsen', 'email': 'anna.henningsen@mongodb.com', 'username': 'addaleax'}

Message: feat: add protectConnectionStrings option COMPASS-6066 (#3660)
Branch: remove-last-globally-impacting-all-scope-global-styles
https://github.com/mongodb-js/compass/commit/beb1ccb2c5fb7c6cad3273bc4baead000ec8f9e3

Comment by Githook User [ 02/Nov/22 ]

Author:

{'name': 'Anna Henningsen', 'email': 'anna.henningsen@mongodb.com', 'username': 'addaleax'}

Message: feat: add protectConnectionStrings option COMPASS-6066 (#3660)
Branch: 1.34-releases
https://github.com/mongodb-js/compass/commit/beb1ccb2c5fb7c6cad3273bc4baead000ec8f9e3

Comment by Githook User [ 02/Nov/22 ]

Author:

{'name': 'Anna Henningsen', 'email': 'anna.henningsen@mongodb.com', 'username': 'addaleax'}

Message: feat: add protectConnectionStrings option COMPASS-6066 (#3660)
Branch: menu-refactor
https://github.com/mongodb-js/compass/commit/beb1ccb2c5fb7c6cad3273bc4baead000ec8f9e3

Comment by Githook User [ 02/Nov/22 ]

Author:

{'name': 'Anna Henningsen', 'email': 'anna.henningsen@mongodb.com', 'username': 'addaleax'}

Message: feat: add protectConnectionStrings option COMPASS-6066 (#3660)
Branch: main
https://github.com/mongodb-js/compass/commit/beb1ccb2c5fb7c6cad3273bc4baead000ec8f9e3

Comment by Githook User [ 28/Oct/22 ]

Author:

{'name': 'Anna Henningsen', 'email': 'anna.henningsen@mongodb.com', 'username': 'addaleax'}

Message: feat: add protectConnectionStrings option COMPASS-6066
Branch: 6066-dev
https://github.com/mongodb-js/compass/commit/1c05d36bc450842c31a4f9e05681b0d37b26b8f8

Generated at Wed Feb 07 22:41:47 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.