Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-93431

(Nice-to-have) Reuse the listDatabases action type from the listDatabases command for the $listDatabases aggregation stage.

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing

      Currently, there are two different action types with different roles assigned for the `listDatabases` command and the `$listDatabases` aggregation stage. The roles assigned for each action type are the following:

      `listDatabases` action type (`listDatabases` cmd):

      • readWriteAnyDatabase
      • readAnyDatabase
      • userAdminAnyDatabase
      • dbAdminAnyDatabase
      • clusterMonitor
      • backup

      `aggregationListDatabases` action type (`$listDatabases` aggregation stage):

      • clusterMonitor
      • clusterManager

      Since it is expected that all the roles that can execute the `listDatabases` command can also execute the `$listDatabases` aggregation stage, the action type for both should be the same and should be assigned to the roles that were initially assigned to the `listDatabases` command.

            Assignee:
            Unassigned Unassigned
            Reporter:
            fanny.mariaaranda@mongodb.com Fanny Maria Aranda (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: