Skip to content
Commit 9b22c9c1 authored by Jo-Philipp Wich's avatar Jo-Philipp Wich
Browse files

luci-base: implement session handling in luci.model.uci



Introduce luci.model.uci.set_session_id() and luci.model.uci.get_session_id()
to set and get the effective session ID respectively.

When a session ID is set, it is sent as `ubus_rpc_session` attribute to rpcd,
causing it to use per-session change directories, isolating LuCI changes from
the global system uci state.

Signed-off-by: default avatarJo-Philipp Wich <jo@mein.io>
parent fc8f825e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment