/** * Basic access check for writing data, checks for same shopid, should be overridden if field oxshopid does not exist * * @param oxBase $oObj loaded shop object * @param array $aData fields to be written, null for default * * @throws Exception on now access * * @return null */ public function checkWriteAccess($oObj, $aData = null) { return; if ($oObj->isDerived()) { throw new Exception(oxERPBase::$ERROR_USER_NO_RIGHTS); } }