Skip to content

Members don’t get enriched if the invitations don’t load #6

Description

@RemiBardon
Image

After accepting an invitation, members are redirected to the Dashboard. However since regular members don’t have access to invitations, the UI breaks.

Either do not log MEMBERs in after accepting an invitation (only ADMINs) or fix the UI so it shows correctly for non-admins.

Note 1: While we’re only using two roles at the moment, granular access will be implemented in the future and the Dashboard shouldn’t make assumptions. IMO it’d be better supporting all roles from the get go.

Note 2: In any case, the code should be fixed so an error when listing invitation doesn’t cancel members enriching. Those are two separate features. Also, the UI shouldn’t show loading indicators for a task that is not in-flight (I suppose enriching isn’t even triggered at this point).

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions