[CORD-2810] Prevent the user from inserting values in read_only fields

Change-Id: I00460544dd7d36f8482b04ea89912005a108f6b8
diff --git a/src/app/datasources/helpers/modeldefs.service.spec.ts b/src/app/datasources/helpers/modeldefs.service.spec.ts
index 9d5660d..e0f37a6 100644
--- a/src/app/datasources/helpers/modeldefs.service.spec.ts
+++ b/src/app/datasources/helpers/modeldefs.service.spec.ts
@@ -43,8 +43,8 @@
 
     const modelDef: IXosModel = {
       fields: [
-        {name: 'id', type: 'number'},
-        {name: 'foo', type: 'string'}
+        {name: 'id', type: 'number', read_only: false},
+        {name: 'foo', type: 'string', read_only: false}
       ],
       relations: [],
       name: 'Node',