From ea66a8f40634983e7fce8d64908242f08b2aeef0 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Wed, 2 Oct 2013 14:11:30 +0000 Subject: [PATCH] io: use "ubus_rpc_session" attribute when querying luci-io session acls --- luci2/src/io/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/luci2/src/io/main.c b/luci2/src/io/main.c index 1ad230d..83a3bbc 100644 --- a/luci2/src/io/main.c +++ b/luci2/src/io/main.c @@ -102,7 +102,7 @@ session_access(const char *sid, const char *obj, const char *func) goto out; blob_buf_init(&req, 0); - blobmsg_add_string(&req, "sid", sid); + blobmsg_add_string(&req, "ubus_rpc_session", sid); blobmsg_add_string(&req, "scope", "luci-io"); blobmsg_add_string(&req, "object", obj); blobmsg_add_string(&req, "function", func); -- 2.30.2