Skip to content

Feature: Role snapshots need to include indexedDB #2420

@mwaldstein

Description

@mwaldstein

Are you requesting a feature or reporting a bug?

Feature

What is the current behavior?

Currently, only cookies (I think?) get saved when Role snapshots are taken. In recent releases of firebase, user state information is stored in IndexDB. As a result, switching roles does not changed the authenticated user.

Similarly, switching to an anonymous Role stays logged in as the indexDB is not cleared.

What is the expected behavior?

Creating a role and switching to a role changes the logged in user.

References:

These issues refer to resetting, but need to apply to taking snapshots as well:

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions