projects
/
project
/
rpcd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
059a6df
)
luci2: change ops->access to ops->session_access to accomodate for changed plugin api
author
Jo-Philipp Wich
<jow@openwrt.org>
Tue, 3 Sep 2013 10:25:14 +0000
(12:25 +0200)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Tue, 3 Sep 2013 10:47:06 +0000
(12:47 +0200)
luci2.c
patch
|
blob
|
history
diff --git
a/luci2.c
b/luci2.c
index 276c60db1926cdca4dd34e50b7090aca8e777f2e..50381a2760d7b8add5ae579fa009febec588d67e 100644
(file)
--- a/
luci2.c
+++ b/
luci2.c
@@
-1998,16
+1998,16
@@
menu_access(struct blob_attr *sid, struct blob_attr *acls, struct blob_buf *e)
blobmsg_for_each_attr(acl, acls, rem)
{
blobmsg_for_each_attr(acl, acls, rem)
{
- if (!ops->access(blobmsg_data(sid), "luci-ui",
- blobmsg_data(acl), "read"))
+ if (!ops->
session_
access(blobmsg_data(sid), "luci-ui",
+
blobmsg_data(acl), "read"))
{
rv = false;
break;
}
blobmsg_add_u8(e, blobmsg_data(acl),
{
rv = false;
break;
}
blobmsg_add_u8(e, blobmsg_data(acl),
- ops->access(blobmsg_data(sid), "luci-ui",
- blobmsg_data(acl), "write"));
+ ops->
session_
access(blobmsg_data(sid), "luci-ui",
+
blobmsg_data(acl), "write"));
}
blobmsg_close_table(e, c);
}
blobmsg_close_table(e, c);