aboutsummaryrefslogtreecommitdiff
path: root/web/app/model
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-10-08 16:01:12 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2016-10-08 16:01:12 +1300
commit58d7f195375a8d32f5260da7d4cea437ad564223 (patch)
tree787254e771859e57022fab32d4062ffd78afb3b3 /web/app/model
parent06e0f5fd8f32e8f0fbcbce6efd2fcc759b718689 (diff)
downloadtrackermap-web-58d7f195375a8d32f5260da7d4cea437ad564223.tar.gz
trackermap-web-58d7f195375a8d32f5260da7d4cea437ad564223.tar.bz2
trackermap-web-58d7f195375a8d32f5260da7d4cea437ad564223.zip
Implement user readonly flag
Diffstat (limited to 'web/app/model')
-rw-r--r--web/app/model/User.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/web/app/model/User.js b/web/app/model/User.js
index e9eec18c..8c7638f8 100644
--- a/web/app/model/User.js
+++ b/web/app/model/User.js
@@ -32,6 +32,9 @@ Ext.define('Traccar.model.User', {
name: 'password',
type: 'string'
}, {
+ name: 'readonly',
+ type: 'boolean'
+ }, {
name: 'admin',
type: 'boolean'
}, {