I have a little set of Entities marked with [
ClientCanSave(
false)] attribute and I am exposing server methods to deal with this entities BUT when I call this methods using
InvokeServerMethod() the server method has an
EntityManager reference (on the server-side) with the same security constraints. Then all modifications to that set of entities will fail because the logged user is not allowed to save that entities even when the logic is running on server-side.
How can I write server-side logic with no client constraints?