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

Error when clicking "My Account" link #451

Closed
froi opened this issue Jul 24, 2018 · 3 comments
Closed

Error when clicking "My Account" link #451

froi opened this issue Jul 24, 2018 · 3 comments

Comments

@froi
Copy link

froi commented Jul 24, 2018

Current Behaviour

When clicking the My Account link found in the top right gear menu I get an "unexpected error" message. I'm logged in using the Sign in With Google option using my GSA account.

Screenshots:

image

image

Browser console error:
image

Hitting try again link sends me to the last screen I was on.

Expected Behaviour

When clicking the My Account link found in the top right gear menu I expect to see the settings for my account. At the very least a more clear error description stating if there is a problem with permissions or other account related issues.

Steps to Reproduce

  1. Log in using the Sign in With Google option
  2. Open gear menu
  3. Click on My Account menu option

Possible Solutions

  • Perhaps it's a role or permission issue with my account. I would probably check there first just to rule it out.
  • No idea of any other possible solution.

Browsers

  • Firefox: version 61.0.1 (64-bit)
  • Chrome: version 68.0.3440.75 (Official Build) (64-bit)
@froi
Copy link
Author

froi commented Jul 24, 2018

The Chrome dev console gives me better information on this. The response is a 403

image

So I'm guessing that it's a permissions issue?

Thanks.

GUI added a commit to NREL/api-umbrella that referenced this issue Nov 16, 2018
Admins without the admin management privilege weren't able to view their
own account page, so they couldn't find their admin api token.

This fixes it by allowing admins to view a read-only view of their own
account, regardless of whether they have the admin_manage privilege.

Admins should also be able to set their own password (if using local
authentication), but this part isn't yet implemented.

See:
18F/api.data.gov#451
18F/api.data.gov#443
@GUI
Copy link
Member

GUI commented Nov 17, 2018

@froi: Apologies for the very belated response, but thanks for pointing this out. This issue should now be resolved, but let us know if you're still seeing any issues.

@GUI GUI closed this as completed Nov 17, 2018
@froi
Copy link
Author

froi commented Nov 17, 2018

No worries. The issues has been resolved. Thanks.

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

2 participants