Skip to content

Not re-sending data after user ID changes #11

Open
@vlasky

Description

@vlasky

Hello @mitar ,

I have been testing the disable mergebox functionality with vlasky:mysql .

I am seeing unexpected behaviour when an unauthenticated user subscribes to a publication and then logs in, i.e. this.userid changes on the server side.

As you know, what normally happens when userid changes on the server side is that all subscriptions are temporarily paused, then the publish functions are re-run, any data changes are filtered through the mergebox, then subscriptions are re-enabled.

This step is necessary to handle changes in data visibility depending on what a given user ID is intended to be able to see from that publication.

But when the merge box is disabled, I expect the publication to resend all the data in the published collection after the user id changes.

During my tests, I did not see this happening.

Have I found an unhandled case in the server side logic or have I misunderstood something?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions