projects
/
project
/
luci2
/
ui.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
95a1fac
)
luci2: make login view readonly if acls are missing
author
Jo-Philipp Wich
<jow@openwrt.org>
Mon, 30 Sep 2013 16:51:43 +0000
(16:51 +0000)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Mon, 30 Sep 2013 16:51:43 +0000
(16:51 +0000)
luci2/htdocs/luci2/view/system.users.js
patch
|
blob
|
history
diff --git
a/luci2/htdocs/luci2/view/system.users.js
b/luci2/htdocs/luci2/view/system.users.js
index 69fdaa290757e796fbf0de3eb00de87fea80d397..ed53ab506bd0ceb80d2a63cc1eb152b9ff0e3d24 100644
(file)
--- a/
luci2/htdocs/luci2/view/system.users.js
+++ b/
luci2/htdocs/luci2/view/system.users.js
@@
-223,7
+223,8
@@
L.ui.view.extend({
var m = new L.cbi.Map('rpcd', {
caption: L.tr('Guest Logins'),
description: L.tr('Manage user accounts and permissions for accessing the LuCI ui.'),
- collabsible: true
+ collabsible: true,
+ readonly: !self.options.acls.users
});
var s = m.section(L.cbi.TypedSection, 'login', {