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
- With a user which has
update_profile=False set, log in.
- Open the user menu on the page header.
- Go to the user dashboard.
- 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.
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
update_profile=Falseset, log in./account/dashboard/Actual behavior
Expected behavior