我有一个导航栏,列出了CSR在网站管理部分可以看到的内容。随着管理层向供应商开放,我想限制他们可以看到的东西。
stES();
stIT("p0i3",["Shows"],"p0i2");
stBS("p2",[],"p1");
stIT("p2i0",["View Shows","list1.cfm?mode=vs" ],"p1i0");
stIT("p2i1",["Edit Shows","list.cfm" ],"p1i0");
stIT("p2i2",["Add Show","add.cfm" ],"p1i0");
stIT("p2i3",["View Show Services","list1.cfm?mode=vss" ],"p1i0");
stIT("p2i4",["Edit Show Services","list2.cfm?mode=ess" ],"p1i0");
stIT("p2i5",["Edit Show Order Text","list1.cfm?mode=est" ],"p1i0");
等
调用页面在列表的url中有一个我想要的变量,所以链接如下:
list1.cfm?mode=vs"
看起来像:
list1.cfm?mode=vs&myvariable=1
是否有一种简单的动态添加方式,因此不同的供应商只能为其分配访问权限?
这是严格意义上的JavaScript问题,因为我可以看到它。该页面是.js。