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

db.getRoles() should mention showAuthenticationRestrictions option

    • 1

      MongoDB 3.6 introduced Authentication Restrictions ( PM-757 ). This epic included adding authenticationRestrictions info to the output of the "rolesInfo" command (and by extension, the db.getRoles() helper) if the parameter "showAuthenticationRestrictions: 1" is included in the request.

      e.g.

      db.getRoles({showAuthenticationRestrictions: 1});
      db.runCommand({rolesInfo:1, showAuthenticationRestrictions: 1});
      

      The current manual pages for these commands do not list this new argument.

            Assignee:
            jeffrey.allen@mongodb.com Jeffrey Allen
            Reporter:
            sara.golemon@mongodb.com Sara Golemon
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved:
              1 year, 19 weeks ago