couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (COUCHDB-2435) Logging out should take you to the login page, not an Access Denied page
Date Mon, 10 Nov 2014 12:48:34 GMT

    [ https://issues.apache.org/jira/browse/COUCHDB-2435?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14204726#comment-14204726
] 

ASF GitHub Bot commented on COUCHDB-2435:
-----------------------------------------

GitHub user robertkowalski opened a pull request:

    https://github.com/apache/couchdb-fauxton/pull/143

    Stay on same page after logout 

    If the anonymous user does not have the permissions, they are
    redirected to the login in the next step.
    
    Closes COUCHDB-2435
    
    --- 
    
    Only exception here are actions that don't open a new page, e.g. in a database that is
only accessible as admin, logout and click `changes`. You will get a spinning wheel of death
and an error notification. So far no general solution came to my mind, open for suggestions!

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

    $ git pull https://github.com/robertkowalski/couchdb-fauxton COUCHDB-2435-logout-stay-on-page

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

    https://github.com/apache/couchdb-fauxton/pull/143.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 #143
    
----
commit 614854c0aa4dabcf438d93e925c2d149ede50db1
Author: Robert Kowalski <robertkowalski@apache.org>
Date:   2014-11-10T10:23:03Z

    navbar: fix intendation

commit 7b49270a36423f66adbb993da48be507c3a4ea20
Author: Robert Kowalski <robertkowalski@apache.org>
Date:   2014-11-10T10:24:01Z

    Stay on same page after logout
    
    If the anonymous user does not have the permissions, they are
    redirected to the login in the next step.
    
    Closes COUCHDB-2435

----


> Logging out should take you to the login page, not an Access Denied page
> ------------------------------------------------------------------------
>
>                 Key: COUCHDB-2435
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-2435
>             Project: CouchDB
>          Issue Type: Improvement
>      Security Level: public(Regular issues) 
>          Components: Fauxton
>            Reporter: Ben Keen
>            Assignee: Robert Kowalski
>
> Right now when you click the logout link, you're always redirected to a page that says
"Access Denied". Behaviour-wise, that seems pretty odd to me. 
> How about redirecting to the login page instead?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message