sadbot icon indicating copy to clipboard operation
sadbot copied to clipboard

[firebase] force thread and module namespacing

Open sloane-shark opened this issue 8 years ago • 2 comments

We should enforce that any modules that try to access firebase only have access to the calling threadID and module document. For example, if someone in threadID=1 access the preferences module, that instance should only have access to /1/preferences in the firebase DB. We will probably want some whitelisted exceptions explicitly provided in firebase.js, like giving all modules access to a threads general preferences.

sloane-shark avatar Jul 23 '16 15:07 sloane-shark

I think this is already being done to some extent

kedarv avatar Nov 04 '16 03:11 kedarv

well its done by convention, but my intention here was to actually force modules to do it somehow. idk if thats feasible.

sloane-shark avatar Nov 04 '16 03:11 sloane-shark