luci-app-acl: ensure to set read/write ACL presets as uci lists
authorJo-Philipp Wich <jo@mein.io>
Wed, 7 Jul 2021 14:48:09 +0000 (16:48 +0200)
committerJo-Philipp Wich <jo@mein.io>
Wed, 7 Jul 2021 15:15:37 +0000 (17:15 +0200)
commit9922c838cd1abcda60f4e93b89b0c52a101fc667
tree9b5bc0b0de08f3c943a4d7d42140cab9d491ace5
parentddedcfd146cb63fc22993cd038a278dbebf5b8a6
luci-app-acl: ensure to set read/write ACL presets as uci lists

The rpcd daemon expects uci list notation for the login.read and login.write
options, so ensure to set them accordingly when chosing the `full access` or
`readonly` presets while configuring an account.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
applications/luci-app-acl/htdocs/luci-static/resources/view/system/acl.js