mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-23 02:28:44 +02:00
Enable external classes (i.e. iApplicationObjectExtension) to use bypass function as well
This commit is contained in:
@@ -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
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user