I need pre validation for enabling or disabling buttons, menu items, toolbars and others.
One of them is of course security that is already foreseen but sometimes we need data, data access validation.
I was wondering if the service layer could be the right place to implement something like ‘CanDoDelete’, ‘CanDoSave’, ….
We could move the security issue to the CanDo methods and call them from out the real CRUD –methods.
The second part of the CanDo could implement a validation engine that can access the data.
I have search the forum but could not find anything related to this.
All info, advice is welcome.