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

Disable links to update profile form for update_profile=False users #1997

Open
seav opened this issue Feb 21, 2018 · 0 comments
Open

Disable links to update profile form for update_profile=False users #1997

seav opened this issue Feb 21, 2018 · 0 comments

Comments

@seav
Copy link
Contributor

seav commented Feb 21, 2018

As mentioned in PR #1944, it would be nice if we can update the UI to disable links and menu items to update the user profile if update_profile=False.

Steps to reproduce the error

  1. With a user which has update_profile=False set, log in.
  2. Open the user menu on the page header.
  3. Go to the user dashboard.
  4. Go to the following URL path: /account/dashboard/

Actual behavior

  • After Step 2, "Edit profile" menu item is displayed.
  • After Step 3, gear icon on the side panel is displayed.
  • After Step 4, user is shown the "Update your profile" form.

Expected behavior

  • After Step 2, "Edit profile" menu item is missing.
  • After Step 3, gear icon on the side panel is missing.
  • After Step 4, user is shown an error alert message saying that they cannot update their profile.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant