summaryrefslogtreecommitdiffstats
path: root/provisioning-bulkcreatedevices-html.lsp
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2017-06-07 15:08:51 +0000
committerTed Trask <ttrask01@yahoo.com>2017-06-07 15:08:51 +0000
commit0c9b9057fdcce2d5cfe3c6437c872bf849cb6a89 (patch)
treec6507fe2fbb9b7b8b90883211e25c5aca2c54c9e /provisioning-bulkcreatedevices-html.lsp
parent1b58c97a9c09727d9a6c382c69d2ca9239af4b91 (diff)
downloadacf-provisioning-0c9b9057fdcce2d5cfe3c6437c872bf849cb6a89.tar.bz2
acf-provisioning-0c9b9057fdcce2d5cfe3c6437c872bf849cb6a89.tar.xz
Modify bulkdumpdevices to only show editable values and add bulkdumprawdevices
Diffstat (limited to 'provisioning-bulkcreatedevices-html.lsp')
-rw-r--r--provisioning-bulkcreatedevices-html.lsp6
1 files changed, 5 insertions, 1 deletions
diff --git a/provisioning-bulkcreatedevices-html.lsp b/provisioning-bulkcreatedevices-html.lsp
index 0f0e45f..17907a6 100644
--- a/provisioning-bulkcreatedevices-html.lsp
+++ b/provisioning-bulkcreatedevices-html.lsp
@@ -13,5 +13,9 @@ html = require("acf.html")
<%
local viewtype = cfe({type="hidden", value="stream"})
- htmlviewfunctions.displayitem(cfe({type="form", value={viewtype=viewtype}, label="Bulk Dump Devices", option="Dump", action="bulkdumpdevices"}), page_info)
+ if viewlibrary.check_permission("bulkdumprawdevices") then
+ htmlviewfunctions.displayitem(cfe({type="form", value={viewtype=viewtype}, label="Bulk Dump Devices", option="Dump", action="bulkdumprawdevices"}), page_info)
+ elseif viewlibrary.check_permission("bulkdumpdevices") then
+ htmlviewfunctions.displayitem(cfe({type="form", value={viewtype=viewtype}, label="Bulk Dump Devices", option="Dump", action="bulkdumpdevices"}), page_info)
+ end
%>