Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-12866

role enableSharding can be fetch from db.getRoles(...) but missing in documentation

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major - P3 Major - P3
    • Server_Docs_20231030
    • 3.7.9, 3.6.6, 4.0 Required, 3.4 Required
    • manual, Server
    • None

    Description

      Description

       

       

      mongos> use app
      switched to db app
      mongos> db.getRole("enableSharding")
      {
       "role" : "enableSharding",
       "db" : "app",
       "isBuiltin" : true,
       "roles" : [ ],
       "inheritedRoles" : [ ]
      }

       

       

      https://docs.mongodb.com/manual/reference/built-in-roles/

      https://docs.mongodb.com/manual/reference/privilege-actions/#enableSharding

       

      seems in documentation there is no role named "enableSharding" but a privilege action

       

       

      Scope of changes

      Impact to Other Docs

      MVP (Work and Date)

      Resources (Scope or Design Docs, Invision, etc.)

      Attachments

        Activity

          People

            Unassigned Unassigned
            8666592@qq.com jacky chen
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              1 year, 14 weeks, 2 days ago