I'd like to make user creation public, so that unauthenticated users can create new accounts in _users, but only give read privileges to admin roles. Is this possible? How?
How can I make user creation public but read access private in CouchDB?
768 Views Asked by Pedro Silva At
1
There are 1 best solutions below
Related Questions in COUCHDB
- Sort continents by amount of countries
- SImple reduce function is not working, what is wrong with my reduce function code in couchDB?
- Do 'reduce' with results from Cloudant search?
- DB candidate as CouchDB/Schema replacement
- CouchDB sum by date range and type
- Couchdb View does not re-index
- Retrieve data without _id and _ref from coucgdb
- How do I get rid of unused views on CouchDB using futon?
- Using node-couchdb to query a database
- Import data from CouchDB to Sql Server
- Architecture of an app when using CouchDB/PouchDB
- How to create and maintain couchDB/pcouchDB doc _id's
- How do I query X specific documents all at once using an index with pouchdb?
- Installing CouchDB on IaaS?
- Download file, retrieved from port on the local server
Related Questions in COUCHDB-FUTON
- SImple reduce function is not working, what is wrong with my reduce function code in couchDB?
- How do I get rid of unused views on CouchDB using futon?
- CouchDB-Why my rerduce is always coming as false ? I am not able to reduce anything properly
- Fetch field of another Doc in CouchDB?
- CouchDB Fauxton - How to navigate through revisions history?
- access denied when accessing couchdb from laptop over ethernet cable
- Does multiple versions of couchDB keeps redundant data?
- Fauxton errors in requre file
- Creating filtered indexes on couchdb
- Do replication on a different drive
- Tool for managing CouchDB
- how to manage list functions using futon?
- Identifying Duplicates in CouchDB
- CouchDB Views and Design Documents
- CouchDB "[Circular]" when writing to an array
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
CouchDB 1.1.0 and the upcoming 1.1.1 do not support this. The best you can do is to have a public database where users submit requests to create user accounts, and you have a standalone tool to react to that and create normal user accounts. (The standalone tool could simply be a dedicated web page you log in to as the admin.)
I have submitted a patch to do exactly what you describe. Called the CouchDB inbox database, it allows unprivileged users to write some approved documents to the database, but they cannot read any of the data. Creating new user accounts is exactly why I made the patch.
I am optimistic that it will be included in either v1.2 or 1.3.