Do not allow the user to modify/delete objects designed for logging (change tracking, error log, information log, etc.)

SVN:trunk[440]
This commit is contained in:
Romain Quetiez
2010-06-08 09:33:14 +00:00
parent a813a1e50a
commit 4d3fbf1f79
7 changed files with 47 additions and 17 deletions

View File

@@ -51,6 +51,10 @@ class CMDBChange extends DBObject
MetaModel::Init_AddAttribute(new AttributeString("userinfo", array("allowed_values"=>null, "sql"=>"userinfo", "default_value"=>null, "is_null_allowed"=>true, "depends_on"=>array())));
}
static public function IsReadOnly()
{
return true;
}
}
?>