summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-acl/htdocs/luci-static/resources/view/system/acl.js
diff options
context:
space:
mode:
authorFlorian Eckert <fe@dev.tdt.de>2021-07-01 10:04:20 +0200
committerGitHub <noreply@github.com>2021-07-01 10:04:20 +0200
commit37d3b7050c13a6f3013632d1435d9b02c46e4999 (patch)
tree27ddae3aa59b6efaa4eb5d745e6d10a4aa2198db /applications/luci-app-acl/htdocs/luci-static/resources/view/system/acl.js
parent42d5c27776396e15be3d4c6bf6f1978a3f7fe987 (diff)
parentf4e8fcb6b53780bd2d126b22a89c379cd7c071d7 (diff)
Merge pull request #5158 from TDT-AG/pr/20210630-luci-app-acl
luci-app-acl: some fixes
Diffstat (limited to 'applications/luci-app-acl/htdocs/luci-static/resources/view/system/acl.js')
-rw-r--r--applications/luci-app-acl/htdocs/luci-static/resources/view/system/acl.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/applications/luci-app-acl/htdocs/luci-static/resources/view/system/acl.js b/applications/luci-app-acl/htdocs/luci-static/resources/view/system/acl.js
index 618facd6e6..8d1086f754 100644
--- a/applications/luci-app-acl/htdocs/luci-static/resources/view/system/acl.js
+++ b/applications/luci-app-acl/htdocs/luci-static/resources/view/system/acl.js
@@ -146,6 +146,9 @@ var cbiACLSelect = form.Value.extend({
},
write: function(section_id, value) {
+ uci.unset('rpcd', section_id, 'read');
+ uci.unset('rpcd', section_id, 'write');
+
if (L.isObject(value) && Array.isArray(value.read))
uci.set('rpcd', section_id, 'read', value.read);