Hello,
I have a simple dataobject like this:
class MyObject extends DataObject {
static $db = array(
'Creation' => 'Date'
);
}
I'd like to have two Model-Admins for the same dataobject.
One should be a normal ModelAdmin alll objects where Creation is in the future.
Another should all objects where Creation is in the past and it should show them as read-only.
I know I can set permission on the MyObject, but that would not solve my problem to be able to have read-only and read-write ModelAdmin.
How is the approach in silverstripe for such cases ?