You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Matt Goodall (JIRA)" <ji...@apache.org> on 2009/01/27 14:52:59 UTC
[jira] Created: (COUCHDB-228) Futon access couchdb's config
Futon access couchdb's config
-----------------------------
Key: COUCHDB-228
URL: https://issues.apache.org/jira/browse/COUCHDB-228
Project: CouchDB
Issue Type: Bug
Components: Administration Console
Affects Versions: 0.9
Reporter: Matt Goodall
Futon tries to access the couchdb config (/_config/query_servers) unnecessarily, causing a basic auth request if there are any "admins" configured.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (COUCHDB-228) Futon access couchdb's config
Posted by "Christopher Lenz (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/COUCHDB-228?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Christopher Lenz reassigned COUCHDB-228:
----------------------------------------
Assignee: Christopher Lenz
> Futon access couchdb's config
> -----------------------------
>
> Key: COUCHDB-228
> URL: https://issues.apache.org/jira/browse/COUCHDB-228
> Project: CouchDB
> Issue Type: Bug
> Components: Administration Console
> Affects Versions: 0.9
> Reporter: Matt Goodall
> Assignee: Christopher Lenz
>
> Futon tries to access the couchdb config (/_config/query_servers) unnecessarily, causing a basic auth request if there are any "admins" configured.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (COUCHDB-228) Futon access couchdb's config
Posted by "Matt Goodall (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/COUCHDB-228?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12667728#action_12667728 ]
Matt Goodall commented on COUCHDB-228:
--------------------------------------
By "unnecessarily", I merely meant that database.html doesn't always need to access the config. For instance, if viewPath is one of _all_docs or _design_docs there's no need to populate the view editor at all. However, it would be really nice if the view editor was disabled/simplified if the user isn't in the 'admins' list.
Never tried this, but it ought to be possible to suppress the auth prompt by first sending a HEAD request to the view's design doc and inspecting the response's "Allow" header. If PUT is an allowed method then the view is editable and a full editor view can be displayed, including the list of languages. The CouchDB backend then just needs to send "Allow: GET, HEAD" for non-admins and "Allow: GET, HEAD, PUT" admins. You never know, it might work ;-).
> Futon access couchdb's config
> -----------------------------
>
> Key: COUCHDB-228
> URL: https://issues.apache.org/jira/browse/COUCHDB-228
> Project: CouchDB
> Issue Type: Bug
> Components: Administration Console
> Affects Versions: 0.9
> Reporter: Matt Goodall
> Assignee: Christopher Lenz
>
> Futon tries to access the couchdb config (/_config/query_servers) unnecessarily, causing a basic auth request if there are any "admins" configured.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (COUCHDB-228) Futon access couchdb's config
Posted by "Paul Joseph Davis (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/COUCHDB-228?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Paul Joseph Davis updated COUCHDB-228:
--------------------------------------
Skill Level: Regular Contributors Level (Easy to Medium)
> Futon access couchdb's config
> -----------------------------
>
> Key: COUCHDB-228
> URL: https://issues.apache.org/jira/browse/COUCHDB-228
> Project: CouchDB
> Issue Type: Bug
> Components: Futon
> Affects Versions: 0.9
> Reporter: Matt Goodall
> Assignee: Christopher Lenz
>
> Futon tries to access the couchdb config (/_config/query_servers) unnecessarily, causing a basic auth request if there are any "admins" configured.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (COUCHDB-228) Futon access couchdb's config
Posted by "Christopher Lenz (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/COUCHDB-228?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12667683#action_12667683 ]
Christopher Lenz commented on COUCHDB-228:
------------------------------------------
I wouldn't say "unnecessarily", this was added for COUCHDB-202 to be able to accurately show the list of available view languages.
Not sure whether there's a way to suppress the auth prompt.
> Futon access couchdb's config
> -----------------------------
>
> Key: COUCHDB-228
> URL: https://issues.apache.org/jira/browse/COUCHDB-228
> Project: CouchDB
> Issue Type: Bug
> Components: Administration Console
> Affects Versions: 0.9
> Reporter: Matt Goodall
> Assignee: Christopher Lenz
>
> Futon tries to access the couchdb config (/_config/query_servers) unnecessarily, causing a basic auth request if there are any "admins" configured.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.