You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2020/03/09 02:43:37 UTC

[GitHub] [couchdb] danielbarbarito opened a new issue #2643: v3.0 Unable to disable read-only _users database with the "users_db_security_editable" option

danielbarbarito opened a new issue #2643: v3.0 Unable to disable read-only _users database with the "users_db_security_editable" option
URL: https://github.com/apache/couchdb/issues/2643
 
 
   ## Description
   
   When I set "users_db_security_editable" to true, I still get an error message when editing the permissions in _users.
   
   ## Steps to Reproduce
   
   1. Go to the config page (http://localhost:5984/_utils/#_config/couchdb@localhost)
   2. Set "users_db_security_editable" to true
   3. Go to the permissions in the _users database (http://localhost:5984/_utils/#/database/_users/permissions)
   4. Remove the _admin role
   5. See the "Could not update permissions - reason: Error: You can't edit the security object of the user database" at the top of the page
   
   ## Expected Behaviour
   
   I expect to be able to remove the _admin role from the members. I want to be able to allow anybody to sign up to my app without exposing the admin password to the user.
   
   ## Your Environment
   
   * CouchDB version used: 3.0
   * Browser name and version: Chrome 79.0.3945.130 
   * Operating system and version: Mac OS

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [couchdb] danielbarbarito commented on issue #2643: v3.0 Unable to disable read-only _users database with the "users_db_security_editable" option

Posted by GitBox <gi...@apache.org>.
danielbarbarito commented on issue #2643: v3.0 Unable to disable read-only _users database with the "users_db_security_editable" option
URL: https://github.com/apache/couchdb/issues/2643#issuecomment-596314225
 
 
   @wohali That worked! Just submitted a new PR.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [couchdb] rnewson closed issue #2643: v3.0 Unable to disable read-only _users database with the "users_db_security_editable" option

Posted by GitBox <gi...@apache.org>.
rnewson closed issue #2643: v3.0 Unable to disable read-only _users database with the "users_db_security_editable" option
URL: https://github.com/apache/couchdb/issues/2643
 
 
   

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [couchdb] wohali commented on issue #2643: v3.0 Unable to disable read-only _users database with the "users_db_security_editable" option

Posted by GitBox <gi...@apache.org>.
wohali commented on issue #2643: v3.0 Unable to disable read-only _users database with the "users_db_security_editable" option
URL: https://github.com/apache/couchdb/issues/2643#issuecomment-596311997
 
 
   Hi @danielbarbarito thanks for the report.
   
   This looks like a bug in `default.ini`, because the setting has been put into the `[purge] ` section when it should be in the `[couchdb]` section. Your PR is changing things the wrong way; this was never meant to be in `purge`.
   
   Can you please try adding the following text to your `local.ini` file, then restarting CouchDB and test if you can edit the `_users` DB permissions?
   
   ```ini
   [couchdb]
   users_db_security_editable = true
   ```
   
   If that works, would you submit a new PR that moves the setting line into the `[couchdb]` section of the `default.ini` section?

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [couchdb] rnewson commented on issue #2643: v3.0 Unable to disable read-only _users database with the "users_db_security_editable" option

Posted by GitBox <gi...@apache.org>.
rnewson commented on issue #2643: v3.0 Unable to disable read-only _users database with the "users_db_security_editable" option
URL: https://github.com/apache/couchdb/issues/2643#issuecomment-598072759
 
 
   PR is merged.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services