apache / couchdb-fauxton

Fauxton is the new Web UI for CouchDB

Home Page:https://github.com/apache/couchdb-fauxton

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

verify install: warn if run as non-admin user

janl opened this issue · comments

If folks run “verify install” they get a replication error (3 docs replicated, 4 expected). That’s because one of the test docs is a design doc, and writing that requires admin creds. This was less of a problem in 2.x where abs were open by default, but with 3.x being closed by default, this can be confusing.

It should be easy enough to add a check to see if the current user is a db admin.

Hello @janl, I'd love to work on this. But I have one question, can you please confirm what is the expectation if the user is not a db admin? Do we just skip the document? or let it fail and show a warning notification