couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Davies (JIRA)" <j...@apache.org>
Subject [jira] Updated: (COUCHDB-478) Modify couch_httpd_auth:get_user to read from [admins] in .ini config and fall back to using database
Date Thu, 20 Aug 2009 12:17:15 GMT

     [ https://issues.apache.org/jira/browse/COUCHDB-478?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jason Davies updated COUCHDB-478:
---------------------------------

    Attachment: oauth_ini_users.patch

This patch makes couch_httpd_auth:get_user check for the user in the .ini [admins] section
first before falling back to querying the database.  I've also modified the oauth test to
check that this works.

> Modify couch_httpd_auth:get_user to read from [admins] in .ini config and fall back to
using database
> -----------------------------------------------------------------------------------------------------
>
>                 Key: COUCHDB-478
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-478
>             Project: CouchDB
>          Issue Type: Improvement
>          Components: HTTP Interface
>            Reporter: Jason Davies
>             Fix For: 0.10
>
>         Attachments: oauth_ini_users.patch
>
>
> In the future we will make this pluggable (and orderable) but for now I think it is a
sensible default to make oauth and cookie auth respect [admins] in the .ini as well as reading
users from the database.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message