5 ms·
Self hosted Firebase, nice! How do you handle permissions by the way? is it the same concept as Firebase's? how do you handle data validation? (e.g. preventing
by eranation 14y ago
Self hosted Firebase, nice!
How do you handle permissions by the way? is it the same concept as Firebase's? how do you handle data validation? (e.g. preventing users gaming the data, e.g. saving all their stolen ebooks in your system by using a console, or just cheating in a game by doing illegal moves?)
- gr2m 14y agopermissions is handled directly by CouchDB. Every user has an own database that only he/she has access to. Synchronization between accounts can be done via shares. We don't have validation at the moment. You can store whatever you like, it's just JSON. We could add validation at some point, but it's currently not on our agenda. We try to keep it really simple at the moment, getting the core right, then empowering others to build modules on top of it.
- janl 14y agoCouchDB has validations, we just don’t use them yet, you are welcome to, though :)