summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-acl/htdocs/luci-static/resources/view
AgeCommit message (Collapse)Author
2021-07-13luci-app-acl: remove support for plaintext login passwordsJo-Philipp Wich
Upon reviewing the rpcd session support code, it turns out that account definitions with plaintext password values are not supported, the password value is treated as crypt() hash/salt in any case. Ref: https://github.com/openwrt/luci/issues/5179 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2021-07-07luci-app-acl: ensure to set read/write ACL presets as uci listsJo-Philipp Wich
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>
2021-07-01luci-app-acl: unset read and write before acl setFlorian Eckert
If the setting in the view is set to `denied`, only the read list option is deleted. This is not correct. The write list option must also be deleted. To ensure that the correct configuration is saved, the write and read list options are always deleted beforehand and then rewritten. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-11-27treewide: transition div tables to actual table markupJo-Philipp Wich
Modern browsers allow decomposing table markup equally well as nested div constructs, therefor migrate our <div> table markup to actual <table> tags but keep the old table/tr/th/td CSS classes for now to allow for a smooth theme transition. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-05-16luci-app-acl: fix typoHannu Nyman
Fix typo: Acess -> Access Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2020-04-18luci-app-acl: add initial version of login management moduleJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>