Hi,
I have an extension I am trying to update to work with version 7
For some entities I have some additional logic for Merge, Mass Delete, MassUpdate previously i used the controller and overrode the methods to do the checks, this no longer works
v6 example:
in v7 this and the other method checks do not seem to run.
I have been looking at using: metadata/recordDefs/EntityName.json
Is it possible to add logic here or only set allowed true/false?
Is there a method I can override now in v7 to get the same functionality?
I have an extension I am trying to update to work with version 7
For some entities I have some additional logic for Merge, Mass Delete, MassUpdate previously i used the controller and overrode the methods to do the checks, this no longer works
v6 example:
PHP Code:
public function actionMerge($params, $data, $request)
{
if(!$this->myChecks()){
throw new Forbidden();
}
return parent::actionMerge($params, $data, $request);
}
I have been looking at using: metadata/recordDefs/EntityName.json
Is it possible to add logic here or only set allowed true/false?
Is there a method I can override now in v7 to get the same functionality?
Comment