Uploaded image for project: 'CouchDB'
  1. CouchDB
  2. COUCHDB-1818

Deleting Admin using REST API does not completely delete the admin in the local.ini file

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • None
    • None
    • None

    Description

      Using Couchdb 1.3

      When using the REST API to delete an admin user that was inserted using the REST API, only that admin's password is deleted from the local.ini file, while the admin's username remains under the [admins] section of the local.ini file.

      Steps to Reproduce:
      1. System in Admin Party mode.
      2. User creates admin using REST API (PUT _config/admins/TestAdmin)
      3. User deletes admin using REST API (DELETE _config/admins/TestAdmin)
      4. Inspect the local.ini file and notice under [admins]: "TestAdmin = "

      Results:
      If in admin party mode afterwards, it can cause issues with futon and the REST API.

      Attachments

        Activity

          People

            Unassigned Unassigned
            toddbluhm Todd Bluhm
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: