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

Can't load settings page #92

Open
mtlynch opened this issue Feb 15, 2023 · 4 comments
Open

Can't load settings page #92

mtlynch opened this issue Feb 15, 2023 · 4 comments
Labels
bug Something isn't working partially-complete

Comments

@mtlynch
Copy link

mtlynch commented Feb 15, 2023

I tried to add a repo to CodeApprove by giving CodeApprove permissions to a new private repo. But doing this seems to have locked me out of the settings page. When I try to load https://codeapprove.com/settings, the top status bar cycles forever and I see this error in the JS console logs:

[Vue warn]: Error in mounted hook (Promise/async): "FirebaseError: [code=permission-denied]: Missing or insufficient permissions."

found in

---> <N>
       <N>
         <Root>
@samatcodeapprove
Copy link

@mtlynch that is very not good! I will try to get this fixed today.

@samatcodeapprove samatcodeapprove added the bug Something isn't working label Feb 15, 2023
@mtlynch
Copy link
Author

mtlynch commented Feb 15, 2023

@samatcodeapprove - I'm guessing it's something in localStorage. If I open an incognito window, it works.

@samatcodeapprove
Copy link

samatcodeapprove commented Feb 15, 2023

@mtlynch since this one is tricky to reproduce, I'm going for a temporary band-aid to start.

I just released a new /signout route which will forcibly sign you out and hopefully fix your session in your non-incognito window. Can you try navigating to https://codeapprove.com/signout and then signing back in and seeing if you can access settings? You may need a hard refresh to get the version of the site which respects that route (ironic).

After you sign back in, assuming you can access Settings, you may need to Refresh your private repos if you don't see the one you just added.

@mtlynch
Copy link
Author

mtlynch commented Feb 15, 2023

@samatcodeapprove - Cool, signing out and signing in again got me access to the settings page again. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working partially-complete
Projects
None yet
Development

No branches or pull requests

2 participants