Skip to content

How is the "Roles" example for react-router v4 + redux-auth-wrapper v2 supposed to be used? #982

Open
@tjvanderende

Description

@tjvanderende

Do you want to request a feature or report a bug?

Feature / enhancement

What is the current behavior?
Its not clear where profile is coming from in the permission based example (last example from https://react-redux-firebase.com/docs/recipes/roles.html). Same example does also not check for permission, which makes it unclear how to get the permission parameters from the user profile.

What is the expected behavior?
A full working example.

Could anybody give me a working example of implementing this with the proposed role/user structure off the above link? Its also unclear how to populate the roles, because the "populate" section in the documentation explains the profile parameters not automatically getting loaded anymore. However, its not clear how to load them with firestore.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions