Per user companion data #109

Open
opened 3 days ago by utopiah · 2 comments
utopiah commented 3 days ago
Owner

Currently https://git.benetou.fr/utopiah/text-code-xr-engine/src/branch/fot-sloan-companion/companion.js#L220 the companion backend is shared accross all user.

It would be better to have it per user.

Currently https://git.benetou.fr/utopiah/text-code-xr-engine/src/branch/fot-sloan-companion/companion.js#L220 the companion backend is shared accross all user. It would be better to have it per user.
Poster
Owner

Ideally this would be done without any change to the frontend https://git.benetou.fr/utopiah/text-code-xr-engine/src/branch/fot-sloan-companion/public/index.html as it currently does not support (to verify) a prefix properly and thus assumes content comes from /.

Ideally this would be done without any change to the frontend https://git.benetou.fr/utopiah/text-code-xr-engine/src/branch/fot-sloan-companion/public/index.html as it currently does not support (to verify) a prefix properly and thus assumes content comes from `/`.
Poster
Owner

Consider passing a user ID, if not existant, then use a "demo" or tutorial mode.

If existant then prefix the ./public directory. Consequently updates via SSE should then be limited to a specific user.

Maybe admin could create new ID.

Consider passing a user ID, if not existant, then use a "demo" or tutorial mode. If existant then prefix the `./public` directory. Consequently updates via SSE should then be limited to a specific user. Maybe admin could create new ID.
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: utopiah/text-code-xr-engine#109
Loading…
There is no content yet.