v0.5.7: unique company names in MOCK_USERS
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "ipwhitelist",
|
"name": "ipwhitelist",
|
||||||
"version": "0.5.6",
|
"version": "0.5.7",
|
||||||
"description": "IP WhiteList microservice for cloud provider",
|
"description": "IP WhiteList microservice for cloud provider",
|
||||||
"main": "server.js",
|
"main": "server.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
+6
-6
@@ -22,7 +22,7 @@ const MOCK_USERS = [
|
|||||||
isAdmin: true,
|
isAdmin: true,
|
||||||
clientId: 'WZ01112',
|
clientId: 'WZ01112',
|
||||||
companyId: 'aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee',
|
companyId: 'aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee',
|
||||||
companyName: 'Nubes Admin',
|
companyName: 'Nubes',
|
||||||
email: 'admin@nubes.ru',
|
email: 'admin@nubes.ru',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -32,27 +32,27 @@ const MOCK_USERS = [
|
|||||||
isAdmin: false,
|
isAdmin: false,
|
||||||
clientId: 'WZ01325',
|
clientId: 'WZ01325',
|
||||||
companyId: '3e64aac6-dcfc-4082-88dc-da19c86555a5',
|
companyId: '3e64aac6-dcfc-4082-88dc-da19c86555a5',
|
||||||
companyName: 'Тест',
|
companyName: 'Компания Тест',
|
||||||
email: 'tazet@narod.ru',
|
email: 'tazet@narod.ru',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: 'multi',
|
id: 'multi',
|
||||||
label: 'Мульти-компания (WZ01325, WZ02001)',
|
label: 'Мульти (WZ01325 + WZ02001)',
|
||||||
role: 'user',
|
role: 'user',
|
||||||
isAdmin: false,
|
isAdmin: false,
|
||||||
clientId: 'WZ01325, WZ02001',
|
clientId: 'WZ01325, WZ02001',
|
||||||
companyId: '3e64aac6-dcfc-4082-88dc-da19c86555a5',
|
companyId: '3e64aac6-dcfc-4082-88dc-da19c86555a5',
|
||||||
companyName: 'Тест',
|
companyName: 'Мульти-компания',
|
||||||
email: 'multi@example.com',
|
email: 'multi@example.com',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: 'client2',
|
id: 'client2',
|
||||||
label: 'Компания 2 (WZ02001)',
|
label: 'Вторая (WZ02001)',
|
||||||
role: 'user',
|
role: 'user',
|
||||||
isAdmin: false,
|
isAdmin: false,
|
||||||
clientId: 'WZ02001',
|
clientId: 'WZ02001',
|
||||||
companyId: '11111111-2222-3333-4444-555555555555',
|
companyId: '11111111-2222-3333-4444-555555555555',
|
||||||
companyName: 'Вторая Компания',
|
companyName: 'Вторая компания',
|
||||||
email: 'user2@example.com',
|
email: 'user2@example.com',
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
|||||||
Reference in New Issue
Block a user