rev111 commented on issue #1428: URL: https://github.com/apache/couchdb-fauxton/issues/1428#issuecomment-1971636109
I found the information here: [https://stackoverflow.com/questions/3684749/creating-regular-users-in-couchdb?rq=3](https://stackoverflow.com/questions/3684749/creating-regular-users-in-couchdb?rq=3) A new user is created by adding a new document to the database "_users" in couchDB, following this structure: `{ "_id": "org.couchdb.user:mydbuser", "name": "mydbuser", "type": "user", "roles": ["mydbrole1","mydbrole2"], "password": "plaintext_password" }` "mydbuser" would be the name of the user. It must be the same in "_id" and "name" or an error is thrown. The password is hashed and salted upon save, the document will look different after that, so I leave the above example as reference. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
