Hi all,
i would like to disable the ability to edit a record (case) when status attribute of the record have a particular value.
I know i can override record acl with a custom one by creating Espo\Custom\Acl\Entity.php, the class should extends \Espo\Core\Acl\Acl, but there is no checkEntityEdit method to override in \Espo\Core\Acl\Acl.php.
Any suggestion on how to achieve this?
I've tried by creating a checkEntityEdit method inside Espo\Custom\Acl\CaseObj.php, but the method never get called (checkEntityRead get called correctly however)
Thank you in advance
i would like to disable the ability to edit a record (case) when status attribute of the record have a particular value.
I know i can override record acl with a custom one by creating Espo\Custom\Acl\Entity.php, the class should extends \Espo\Core\Acl\Acl, but there is no checkEntityEdit method to override in \Espo\Core\Acl\Acl.php.
Any suggestion on how to achieve this?
I've tried by creating a checkEntityEdit method inside Espo\Custom\Acl\CaseObj.php, but the method never get called (checkEntityRead get called correctly however)
Thank you in advance
Comment