diff options
author | Ted Trask <ttrask01@yahoo.com> | 2017-02-22 21:56:38 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2017-02-22 22:46:38 +0000 |
commit | a4aa3978538be92a9a3b21468ee76307a40a3d03 (patch) | |
tree | f5edcd5521f5519b6dbad593b231fce321f20cb6 /provisioning-searchdevices-html.lsp | |
parent | 1709d27afda0c4d7aa5a9330701d080d5a2260e1 (diff) | |
download | acf-provisioning-a4aa3978538be92a9a3b21468ee76307a40a3d03.tar.bz2 acf-provisioning-a4aa3978538be92a9a3b21468ee76307a40a3d03.tar.xz |
Add viewdeviceparams action and modify roles to add USER
(cherry picked from commit ea3cacb09a7566b59411fad00f86f170408027e3)
Diffstat (limited to 'provisioning-searchdevices-html.lsp')
-rw-r--r-- | provisioning-searchdevices-html.lsp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/provisioning-searchdevices-html.lsp b/provisioning-searchdevices-html.lsp index 291ef3f..eb99fd0 100644 --- a/provisioning-searchdevices-html.lsp +++ b/provisioning-searchdevices-html.lsp @@ -85,6 +85,8 @@ elseif form.value.result then <% 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) %> |