Hello,
In our project, we are currently facing a challenge where we need to modify the getScopeForbiddenAttributeList function in AclManager. We require access to the Entity within this function to implement custom logic based on the Entity ID.
We have a custom binding for AclManager and Acl as follows:
Our issue lies in overriding the prepareEntityForOutput function in Espo\\Core\\Record\\Service (link to function).
We attempted to create a binding for it as well, but it did not work. Could someone please assist us with potential solutions?
In our project, we are currently facing a challenge where we need to modify the getScopeForbiddenAttributeList function in AclManager. We require access to the Entity within this function to implement custom logic based on the Entity ID.
We have a custom binding for AclManager and Acl as follows:
PHP Code:
$binder
->bindImplementation(
'Espo\\Core\\AclManager',
'Espo\\Custom\\AclManager'
);
$binder
->bindImplementation(
'Espo\\Core\\Acl',
'Espo\\Custom\\Acl'
);
Our issue lies in overriding the prepareEntityForOutput function in Espo\\Core\\Record\\Service (link to function).
We attempted to create a binding for it as well, but it did not work. Could someone please assist us with potential solutions?
Comment