mercredi 25 mars 2015

Meteor restrict CRUD operations to admins or the document owner


Currently in my meteor app I want to be able to restrict database CRUD operations to only document owners, or for example if they have the admin permission.


I am using the meteor alanning:roles package, could someone please explain how I could best leverage this package for restricting who can create, read or update documents based on their roles, or if they are the owner of the document?





Aucun commentaire:

Enregistrer un commentaire