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

Include Permissions Needed to Rename a Replicaset

      In our steps to rename a replica set, we include the commands to rename a replica set using system.replset.

      We had a recent S1 Support Case where a customer had root and dbOwner for local but wasn't able to perform this and was under time pressure to do so. I think it would be helpful to list what permissions are needed, if you can't do this with root or dbOwner.

      For instance the following role contains the necessary permissions:

      db.runCommand( { createRole : "replsetRole", privileges : [ { resource : { db : "local", collection : "system.replset" }, actions:["find","update","remove"]}], roles : [] })
      

            Assignee:
            david.hou@mongodb.com David Hou
            Reporter:
            ronan.merrick@mongodb.com Ronan Merrick
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              1 year, 46 weeks, 6 days ago