luci-base: use native ubus-rpc authorization protocol
authorJo-Philipp Wich <jo@mein.io>
Thu, 15 Aug 2019 14:07:48 +0000 (16:07 +0200)
committerJo-Philipp Wich <jo@mein.io>
Thu, 15 Aug 2019 14:10:42 +0000 (16:10 +0200)
commitacc2c8d27781ce24e9d91353bfb211ff960e166c
tree4659da19cc39f387ea48a809637ffb667c9eef8e
parent438d4b95c3803c793fbfa499d9f51192dd2dd829
luci-base: use native ubus-rpc authorization protocol

Instead of granting complete ubus access under the active sysauth session,
implement the ubus-rpc authorization mechanism and make the ubus proxy
endpoint unauthenticated.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
modules/luci-base/luasrc/controller/admin/index.lua