aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/UserDialog.js
diff options
context:
space:
mode:
Diffstat (limited to 'web/app/view/UserDialog.js')
-rw-r--r--web/app/view/UserDialog.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/web/app/view/UserDialog.js b/web/app/view/UserDialog.js
index 92e3c5b8..f717da72 100644
--- a/web/app/view/UserDialog.js
+++ b/web/app/view/UserDialog.js
@@ -44,6 +44,13 @@ Ext.define('Traccar.view.UserDialog', {
allowBlank: false
}, {
xtype: 'checkboxfield',
+ name: 'readonly',
+ fieldLabel: Strings.serverReadonly,
+ allowBlank: false,
+ disabled: true,
+ reference: 'readonlyField'
+ }, {
+ xtype: 'checkboxfield',
name: 'admin',
fieldLabel: Strings.userAdmin,
allowBlank: false,