-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mango Query won't run on _users database #535
Comments
Confirmed. I was hoping for regex ability on the _users database. Help. 😄 |
Neither the default query against _id in the Fauxton UI or a contructed query on the command line via CURL work with the following error:
Results in:
With the following in the couch log:
|
Still fails on
|
After creating an index, you get the aforementioned
|
_users is governed by a special permissions system. What happened when you make the request as an admin user? |
While trying to run Mango Query, I was logged in as an admin. |
And my tests were in admin party, @janl... |
Have the same problem, can't run a Mango Query on the _users database.
What is the current status of this issue? |
Current status is the ticket is open and no one has picked it up yet. |
@wohali Okay thanks. Do you may know an alternative solution to find specific user data without a specific GET request to http:https://127.0.0.1:5984/_users/org.couchdb.user:USERNAME ? For e.g. I have users which also have their email address in the document. If a user can't remember the password I would like to send them a new one. But for this I need to find the user with the provided email address, change the password and send it (via email) to the user. |
I'm thinking about replicating the user database to a read-only copy database and performing the query that way......... That should work right until someone picks up this ticket? |
@hinesmr This could be a solution, I'll try that. Thanks! |
@nickva This issue is not fixed. Could you please reopen ? |
@ptitjes This is working for me now on version 2.1.1. Thanks guys! |
I have been trying to run a Mango Query on the _users database using Fauxton but the process seems unfruitful and yields either of the errors below;
i. vacc
ii. case_clause
Currently, I have an index on both the name and _id field
The text was updated successfully, but these errors were encountered: