diff --git a/application/cmdbabstract.class.inc.php b/application/cmdbabstract.class.inc.php index d7e6bb8cb..949cfc09e 100644 --- a/application/cmdbabstract.class.inc.php +++ b/application/cmdbabstract.class.inc.php @@ -4217,6 +4217,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 *