superlogin icon indicating copy to clipboard operation
superlogin copied to clipboard

Enhancement: `getUserDB` method

Open SukantGujar opened this issue 8 years ago • 1 comments

Please add a getUserDB(user_id, dbName, type) method which returns a PouchDB instance with admin access. This will allow the server API to easily manipulate the user DB with admin privileges. Without this API, the only way is to share the CouchDB admin credentials separately with the rest of the server code.

This will also go in parallel with other PouchDB instances provided by superlogin, like usersDB and couchAuthDB.

SukantGujar avatar May 12 '16 12:05 SukantGujar