fixed seed for users
authorGiuseppe Careri <giuseppe.careri@xcally.com>
Fri, 16 Mar 2018 15:03:36 +0000 (16:03 +0100)
committerGiuseppe Careri <giuseppe.careri@xcally.com>
Fri, 16 Mar 2018 15:03:36 +0000 (16:03 +0100)
server/config/seedDB/users.js

index 86f837f..da90818 100644 (file)
@@ -20,7 +20,7 @@ var users = [{
     password: 'shuttle55',
     fullname: 'John Doe',
     internal: 1001,
-    permissions: '101,102,103,104,105,106,107,108,109,100',
+    permissions: '101,102,103,104,105,106,107,108,109,100'.split(','),
     description: 'agent auto generated'
 }, {
     id: 3,
@@ -30,7 +30,7 @@ var users = [{
     password: 'shuttle55',
     fullname: 'Jane Miller',
     internal: 1002,
-    permissions: '101,102,103,104,105,106,107,108,109,100',
+    permissions: '101,102,103,104,105,106,107,108,109,100'.split(','),
     description: 'agent auto generated'
 }];
 
@@ -46,4 +46,4 @@ exports.create = function() {
         .catch(function(err) {
             logger.error('Can\'t create Users');
         });
-};
\ No newline at end of file
+};