Uploaded image for project: 'Compass '
  1. Compass
  2. COMPASS-6788

Set default behavior such that "Edit Connection String" always starts disabled

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Critical - P2 Critical - P2
    • 1.37.0
    • Affects Version/s: None
    • Component/s: Security
    • None
    • 3
    • Iteration Brontosaurus
    • Needed
    • Hide

      Note: Please check the comment below in the task ticket, the description contains some outdated info.

      In this ticket we have introduced a new global config property called `protectConnectionStringsForNewConnections`. This new property allow users to configure the default state of "Edit connection string" toggle, for new connections.

      If set to true, "Edit connection string" toggle is in the off state for new connections by default.

      This property works differently when compare to `protectConnectionStrings` in a way that the new property will:

      • work specifically for new connections
      • not hide the toggle entirely unlike `protectConnectionStrings`, instead will set the default state of the toggle (on / off). Users will still be able to switch the toggle on / off.

      Required change:
      We need to document this property on Compass - Configuration File Settings page (https://www.mongodb.com/docs/compass/current/settings/config-file/)

      Show
      Note: Please check the comment below in the task ticket, the description contains some outdated info. In this ticket we have introduced a new global config property called `protectConnectionStringsForNewConnections`. This new property allow users to configure the default state of "Edit connection string" toggle, for new connections. If set to true, "Edit connection string" toggle is in the off state for new connections by default. This property works differently when compare to `protectConnectionStrings` in a way that the new property will: work specifically for new connections not hide the toggle entirely unlike `protectConnectionStrings`, instead will set the default state of the toggle (on / off). Users will still be able to switch the toggle on / off. Required change: We need to document this property on Compass - Configuration File Settings page ( https://www.mongodb.com/docs/compass/current/settings/config-file/ )

      Add an extra option to the global config file, something like connectionStringEditableByDefault. When set to `false`, Compass' default behavior is that "Edit Connection String" always starts disabled and has to be enabled manually both for new as well as for existing connections. Default value here should be {true} so the UX is more straightforward for less regulated customers.

            Assignee:
            himanshu.singh@mongodb.com Himanshu Singh
            Reporter:
            jessica.sigafoos@mongodb.com Jessica Sigafoos
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: