diff options
author | Ted Trask <ttrask01@yahoo.com> | 2017-02-22 21:56:38 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2017-02-28 23:46:55 +0000 |
commit | 25e8c0a351ab75ad88cbb625773c2d3bff526a03 (patch) | |
tree | 0036c0268651415de4e6418a490363d86751d0a8 /provisioning-listdevices-html.lsp | |
parent | 39ce3a2aea06892a92b24859302fd5ec5e7c4fee (diff) | |
download | acf-provisioning-25e8c0a351ab75ad88cbb625773c2d3bff526a03.tar.bz2 acf-provisioning-25e8c0a351ab75ad88cbb625773c2d3bff526a03.tar.xz |
Add viewdeviceparams action and modify roles to add USER
(cherry picked from commit ea3cacb09a7566b59411fad00f86f170408027e3)
Diffstat (limited to 'provisioning-listdevices-html.lsp')
-rw-r--r-- | provisioning-listdevices-html.lsp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/provisioning-listdevices-html.lsp b/provisioning-listdevices-html.lsp index 2c12e99..668b192 100644 --- a/provisioning-listdevices-html.lsp +++ b/provisioning-listdevices-html.lsp @@ -53,6 +53,8 @@ end htmlviewfunctions.displayitem(cfe({type="link", value={device_id=device_id, redir=redir}, label="", option="Params", action="overridedeviceparams"}), page_info, -1) elseif viewlibrary.check_permission("editdeviceparams") then htmlviewfunctions.displayitem(cfe({type="link", value={device_id=device_id, redir=redir}, label="", option="Params", action="editdeviceparams"}), page_info, -1) + elseif viewlibrary.check_permission("viewdeviceparams") then + htmlviewfunctions.displayitem(cfe({type="link", value={device_id=device_id}, label="", option="Details", action="viewdeviceparams"}), page_info, -1) end if viewlibrary.check_permission("getdevicevalues") then htmlviewfunctions.displayitem(cfe({type="form", value={value=device_id, id=cfe({type="hidden", value="device_id"}), viewtype=cfe({type="hidden", value="templated"})}, label="", option="View", action="getdevicevalues"}), page_info, -1) |