Skip to content

Can't load settings page #92

Open
Open

Description

@mtlynch

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>

Activity

  1. samatcodeapprove commented on Feb 15, 2023

    @samatcodeapprove

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

  2. mtlynch commented on Feb 15, 2023

    @mtlynch
    Author

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

  3. samatcodeapprove commented on Feb 15, 2023

    @samatcodeapprove

    @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.

  4. mtlynch commented on Feb 15, 2023

    @mtlynch
    Author

    @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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions