aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/edit/UsersController.js
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2017-07-21 11:26:53 +0500
committerAbyss777 <abyss@fox5.ru>2017-07-21 11:26:53 +0500
commitad74d97866a4c39c90ae2577be204d0f43933a7b (patch)
tree0b4deb48693a9eb62a619e545454dc8750f2d859 /web/app/view/edit/UsersController.js
parentfa5f3054efe7ca926f49f19da45013e1cf1ed81c (diff)
downloadtrackermap-web-ad74d97866a4c39c90ae2577be204d0f43933a7b.tar.gz
trackermap-web-ad74d97866a4c39c90ae2577be204d0f43933a7b.tar.bz2
trackermap-web-ad74d97866a4c39c90ae2577be204d0f43933a7b.zip
Use singe path for permissions
Diffstat (limited to 'web/app/view/edit/UsersController.js')
-rw-r--r--web/app/view/edit/UsersController.js7
1 files changed, 0 insertions, 7 deletions
diff --git a/web/app/view/edit/UsersController.js b/web/app/view/edit/UsersController.js
index 1fa17dfe..fb7a36e2 100644
--- a/web/app/view/edit/UsersController.js
+++ b/web/app/view/edit/UsersController.js
@@ -77,7 +77,6 @@ Ext.define('Traccar.view.edit.UsersController', {
linkObjectName: 'deviceId',
storeName: 'AllDevices',
linkStoreName: 'Devices',
- urlApi: 'api/permissions/devices',
baseObject: user.getId()
}
}).show();
@@ -93,7 +92,6 @@ Ext.define('Traccar.view.edit.UsersController', {
linkObjectName: 'groupId',
storeName: 'AllGroups',
linkStoreName: 'Groups',
- urlApi: 'api/permissions/groups',
baseObject: user.getId()
}
}).show();
@@ -109,7 +107,6 @@ Ext.define('Traccar.view.edit.UsersController', {
linkObjectName: 'geofenceId',
storeName: 'AllGeofences',
linkStoreName: 'Geofences',
- urlApi: 'api/permissions/geofences',
baseObject: user.getId()
}
}).show();
@@ -136,7 +133,6 @@ Ext.define('Traccar.view.edit.UsersController', {
linkObjectName: 'calendarId',
storeName: 'AllCalendars',
linkStoreName: 'Calendars',
- urlApi: 'api/permissions/calendars',
baseObject: user.getId()
}
}).show();
@@ -151,7 +147,6 @@ Ext.define('Traccar.view.edit.UsersController', {
baseObjectName: 'userId',
linkObjectName: 'managedUserId',
storeName: 'Users',
- urlApi: 'api/permissions/users',
baseObject: user.getId()
}
}).show();
@@ -167,7 +162,6 @@ Ext.define('Traccar.view.edit.UsersController', {
linkObjectName: 'attributeId',
storeName: 'AllComputedAttributes',
linkStoreName: 'ComputedAttributes',
- urlApi: 'api/permissions/attributes',
baseObject: user.getId()
}
}).show();
@@ -183,7 +177,6 @@ Ext.define('Traccar.view.edit.UsersController', {
linkObjectName: 'driverId',
storeName: 'AllDrivers',
linkStoreName: 'Drivers',
- urlApi: 'api/permissions/drivers',
baseObject: user.getId()
}
}).show();