What permission checks would be performed?
-Adrian
On 3/7/2012 2:53 PM, Jacopo Cappellato wrote:
I am resurrecting the initial thread when the "entity-auto" engine was implemented; this
is a great addition but we could even push it at a further level (again following the
"configuration by exception" strategy):
why don't we make it optional the service definition for crud services?
The idea is that, if I call:
Map result = dispatcher.runSync("createExampleEntityName", UtilMisc.toMap(...));
and the system can't find a service definition for createExampleEntityName but it finds an entity
definition for "ExampleEntityName" then it calls the "entity-auto" service for
it.
Of course same applies to create/update/delete.
At that point, as soon as we define an entity we will also have automatically
the CRUD services.
Jacopo