sporran
sporran copied to clipboard
Allow users to nominate only one document to sync
Email received below outlines the problem -
Hi,
First of all, I thank you for your great efforts to develop Sporran. :)
I wanted to ask you if I can limit Sporran to sync only the document I am authorizing? because, I will be writing a CouchDB validation function which will make sure that no user changes any document beside his own. I am creating only one document per application user. Along with this, I will also give users a member access to the database to secure admin access to the database.
Please let me know if this is possible, or you might have any workaround in mind? or if I can modify the existing library and create a pull request, I will still need to know, where I am supposed to do modifications.
Best regards,
Muhammad Imran Faruqi
WhatsApp: +92 321 3961733
It should be possible to do this by nominating the document you need for that user and ignoring change requests for other documents.