Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backport 1.2.1: support ui redirect #7253

Closed
wants to merge 3 commits into from
Closed

Conversation

meirish
Copy link
Contributor

@meirish meirish commented Aug 5, 2019

Backport of #7088, but branched from #7251 so that there's no conflicts.

@meirish meirish requested a review from a team August 5, 2019 14:45
@meirish meirish added this to the 1.2.1 milestone Aug 5, 2019
meirish added 3 commits August 5, 2019 14:10
…he namepace picker (#7186)

* reset namespace cache when a user logs out

* fix issue where if you log in to a namespace with an initial /, nested namespaces would not show up in the navigation

* set an empty list of namespaces instead of ignoring error

* add tests for namespace bugs

* use this consistently in template
* add redirect_to query param

* alias auth controller state to vault controller where the query param is defined

* capture the current url before redirecting a user to auth if they're being redirected

* consume and reset the redirectTo query param when authenticating

* make sure that the current url when logging out does not get set as the redirect_to query param

* add unit tests for the mixin and make it so that redirects from the root don't end up in redirect_to

* acceptance tests for redirect
@meirish meirish changed the title backport ui redirect Backport 1.2: support ui redirect Aug 5, 2019
@meirish meirish changed the title Backport 1.2: support ui redirect Backport 1.2.1: support ui redirect Aug 5, 2019
@meirish meirish closed this Aug 5, 2019
@meirish meirish deleted the bp-ui-redirect branch August 5, 2019 20:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant