Per user companion data #109
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.
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
/.Consider passing a user ID, if not existant, then use a "demo" or tutorial mode.
If existant then prefix the
./publicdirectory. Consequently updates via SSE should then be limited to a specific user.Maybe admin could create new ID.