I'm trying to achieve following goal in OpenWrt 12.09:
http://stackoverflow.com/questions/18377138/openwrt-luci-how-to-implement-limited-user-access

At the first sight the problem is solved: you open "System" tab and
you don't see "LED Configuration" option, but as soon as you select
one of the System's tabs all hidden tabs appear.

How can I remove the tab permanently for the current session? Why
removing the tab from tree (c, contect.dispatch) is not enough?

Kiran has proposed some questions, that could lead to the solution of
the problem, but I can't answe them myself so far:

Are we sure that "c"  (variable containing the tree) is the only
source from which the page is rendered?
Is the "c" created from the file or the cache.
Is it created from the file for the first time and then from the cache
on consequent accesses?
Why is it changing when I access different tabs?
Is the "c" tree created even when  "sauth.user" is empty? why? Is this
structure cached then?
what is the difference between "context.tree" and "context.treecache"
. Can we use it for access restriction?

I know about LuCI 2
(http://git.openwrt.org/?p=project/luci2/ui.git;a%3Dsummary), but I
need the solution for the current version.

Best regards,
Yegor
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to