codeapprove / feedback

Feedback for CodeApprove
0 stars 0 forks source link

Can't load settings page #92

Open mtlynch opened 1 year ago

mtlynch commented 1 year ago

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 commented 1 year ago

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

mtlynch commented 1 year ago

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

samatcodeapprove commented 1 year ago

@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 commented 1 year ago

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