couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From garrensmith <...@git.apache.org>
Subject [GitHub] couchdb pull request: Fauxton: Create fx roles
Date Wed, 18 Jun 2014 14:01:18 GMT
GitHub user garrensmith opened a pull request:

    https://github.com/apache/couchdb/pull/249

    Fauxton: Create fx roles

    Fauxton auth works by checking what roles a user has and then decide if
    they have access to a specific route. The only problem is a regular user
    might get created but not have any roles. Unlike an admin user who get
    assigned all the roles on creation.
    
    The idea behind this is that certain routes should require a user to be
    logged in but not necessary have any roles eg. #changePassword route.
    
    This allows for a standard fauxton role that all logged in users get given so that
    we can check via the roles if they are logged

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/garrensmith/couchdb create_fauxton_role

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/couchdb/pull/249.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #249
    
----
commit 8b22969b3354a479c33acd823ceeaa731f12d8ac
Author: Garren Smith <garren.smith@gmail.com>
Date:   2014-06-18T13:55:03Z

    Fauxton: Create fx roles
    
    Fauxton auth works by checking what roles a user has and then decide if
    they have access to a specific route. The only problem is a regular user
    might get created but not have any roles. Unlike an admin user who get
    assigned all the roles on creation.
    
    The idea behind this is that certain routes should require a user to be
    logged in but not necessary have any roles eg. #changePassword route.
    
    This allows for a standard fauxton role that all logged in users get given so that
    we can check via the roles if they are logged

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message