Skip to content

accidental deletion of the one and only admin #102

Open

Description

@kalvinchang
No description provided.

Activity

  1. pshirlyn commented on Nov 28, 2018

    @pshirlyn
    Member

    The workaround I used was manually changing the admin status of the user: mongo to access command line, then use admin, and db.users.find().pretty() to find the user.

    You can update the admin status of this user with db.users.update(); see https://docs.mongodb.com/manual/reference/method/db.collection.update/ for more information.

    If someone else has an easier fix, please let me know!

  2. SalahEddineBC commented on Dec 6, 2018

    @SalahEddineBC

    you can update any user manually and give him admin privileges from the database directly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions