aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/UserDialog.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-01-28 17:51:10 +1300
committerGitHub <noreply@github.com>2017-01-28 17:51:10 +1300
commitd1dd9f84e819d70154861ac2487f902da12885ed (patch)
tree01a8be83810df3722e86d5c7182e96c075d0a215 /web/app/view/UserDialog.js
parentb32387fe01dafc1e85509c8e5312831d9cd0aef2 (diff)
parentaec5f5b0f0b00492742919358a9aaa03e72e3a5b (diff)
downloadtrackermap-web-d1dd9f84e819d70154861ac2487f902da12885ed.tar.gz
trackermap-web-d1dd9f84e819d70154861ac2487f902da12885ed.tar.bz2
trackermap-web-d1dd9f84e819d70154861ac2487f902da12885ed.zip
Merge pull request #390 from Abyss777/permissions_polishing
Improve permissions
Diffstat (limited to 'web/app/view/UserDialog.js')
-rw-r--r--web/app/view/UserDialog.js9
1 files changed, 8 insertions, 1 deletions
diff --git a/web/app/view/UserDialog.js b/web/app/view/UserDialog.js
index 8ab3f6b2..34c3b4a1 100644
--- a/web/app/view/UserDialog.js
+++ b/web/app/view/UserDialog.js
@@ -145,11 +145,18 @@ Ext.define('Traccar.view.UserDialog', {
disabled: true,
reference: 'userLimitField'
}, {
+ xtype: 'checkboxfield',
+ inputValue: true,
+ uncheckedValue: false,
+ name: 'deviceReadonly',
+ fieldLabel: Strings.userDeviceReadonly,
+ disabled: true,
+ reference: 'deviceReadonlyField'
+ }, {
xtype: 'textfield',
name: 'token',
reference: 'tokenField',
fieldLabel: Strings.userToken,
- disabled: true,
triggers: {
generate: {
cls: 'iconCls: x-fa fa-refresh',