Skip to content

Don't publish all users with details to logged-out users #136

@mpchst

Description

@mpchst

When not logged in, the users collections is still published to the client with all details, which means, that all email addresses, real names and roles are visible on the client:

One such message on the DDP:

a["{\"msg\":\"added\",\"collection\":\"users\",\"id\":\"KZsNMd7AC5kcu5yLj\",\"fields\":{\"emails\":[{\"address\":\"real.name@email.de\",\"verified\":true,\"fromLDAP\":true}],\"profile\":{\"name\":\"Real Name\"},\"roles\":{\"5zJmLcj4mCeuH86mZ\":[\"10\"]},\"username\":\"userid\"}}"]

For details see the Chrome Developer network view of the DDP websocket: F12 -> Network -> "websocket" -> Frames

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions