luci-base: load luci preferences early
authorPaul Donald <redacted>
Tue, 3 Feb 2026 19:30:37 +0000 (20:30 +0100)
committerPaul Donald <redacted>
Tue, 3 Feb 2026 19:30:37 +0000 (20:30 +0100)
commit01c53bec37cac7ed4878ce1c8537df667eb8c7fa
tree763123434979b659c68a32883b606dcb8c9ba3b5
parenta91593d03bfddd5503e561af9c05596e4475ecc5
luci-base: load luci preferences early

Follow-up to 315dbfc7498e2f43afb0119b992915e8f311bc37

In order to look at any saved uci value, the luci config
must be loaded before we render the page, so we can determine
stored preferences, for things like table filter, without
encumbering all consumers of configurable elements to load
the luci uci configuration.

All (Table) elements extend CBIAbstractElement, so load
there.

Signed-off-by: Paul Donald <redacted>
modules/luci-base/htdocs/luci-static/resources/form.js
modules/luci-base/root/usr/share/rpcd/acl.d/luci-base.json
git clone https://git.99rst.org/PROJECT