Skip to content

Feat/invitor sets device info#1230

Open
RangerMauve wants to merge 4 commits intomainfrom
feat/invitor-sets-device-info
Open

Feat/invitor sets device info#1230
RangerMauve wants to merge 4 commits intomainfrom
feat/invitor-sets-device-info

Conversation

@RangerMauve
Copy link
Contributor

  • New flag in manager to skip writing own device info to config core (will enable in comapeo-core maybe?)
  • Invitors write deviceInfo keyed to deviceId to account for invitees that don't / can't write their own info
  • When getting member info we fallback to fetching it by their device ID
  • Added test for case where deviceInfo is only written by invitor

TODO: How do we validate the deviceID based case? Initially we could check if the writer is a Coordinator, but this won't work for when coordinators are removed. This speaks to needing vector clocks keyed to membership state being written to auth docs so we can guarantee permissions at that point in time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant