how can I secure SaveChanges after I added or deleted an entity to breezejs?
var newTodo = todoType.createEntity(initialValues);
manager.addEntity(newTodo);
I want only to add/delete entities to a logged in user. Other users shouldn't be able to add an entity to another user via javascript hack.
Querying only allowed entites is possible via editing EFContextProvider on the server. But how does it work with delete or add?
You can Prevent save Change on server side using
overriding BeforeSaveEntitiesDelegate method of contexProvider.
E.g
This will not save new added entity name "xyz".