Skip to content
This repository has been archived by the owner on Jul 12, 2023. It is now read-only.

Redirect to show page after user-create #598

Merged
merged 4 commits into from
Sep 19, 2020

Conversation

whaught
Copy link
Contributor

@whaught whaught commented Sep 19, 2020

Proposed Changes

  • Redirect the user to the show-user page after creation
    • The current experience is potentially confusing as the user winds up back at the new-user page (despite the flash alert). This makes it more clear that the user is created.
  • Adds a send-password reset button to the user page so admins can resend the reset if need-be.

Release Note

Add password-reset button for admins
Change new-user redirect to show-user

@googlebot googlebot added the cla: yes Auto: added by CLA bot when all committers have signed a CLA. label Sep 19, 2020
pkg/controller/user/create.go Show resolved Hide resolved
pkg/controller/user/show.go Show resolved Hide resolved
Copy link
Member

@sethvargo sethvargo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/gltm

@google-oss-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: sethvargo, whaught

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@sethvargo
Copy link
Member

/lgtm

@google-oss-robot google-oss-robot merged commit 7f89d44 into google:main Sep 19, 2020
@whaught whaught deleted the redirect-user branch September 21, 2020 14:46
@google google locked and limited conversation to collaborators Oct 6, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
cla: yes Auto: added by CLA bot when all committers have signed a CLA.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants