Enable external classes (i.e. iApplicationObjectExtension) to use bypass function as well

This commit is contained in:
Lars Hippler
2020-04-08 17:24:12 +02:00
parent 59cc6d3f76
commit 427326d074

View File

@@ -4090,6 +4090,16 @@ EOF
$this->bAllowWrite = $bAllow;
}
/**
* Whether to bypass the checks of user rights when writing this object, could be used in {@link \iApplicationObjectExtension::OnCheckToWrite()}
*
* @return bool
*/
public function GetAllowWrite()
{
return $this->bAllowWrite;
}
/**
* Bypass the check of the user rights when deleting this object
*