summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2009-12-17 10:26:43 +0000
committerTed Trask <ttrask01@yahoo.com>2009-12-17 10:26:43 +0000
commit2414117795062229b06c42f3c877d3cae96d0b44 (patch)
treef3356f2127b49d1e3d54e1cd429f3170bde070db
parent9ef19cdafc8c035200b4208ea9d7458ef0d72477 (diff)
downloadacf-ipsec-tools-2414117795062229b06c42f3c877d3cae96d0b44.tar.bz2
acf-ipsec-tools-2414117795062229b06c42f3c877d3cae96d0b44.tar.xz
Use viewlibrary.check_permission from acf-core-0.9.0
-rw-r--r--ipsectools-listcerts-html.lsp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipsectools-listcerts-html.lsp b/ipsectools-listcerts-html.lsp
index 597f0fe..c6aa9cf 100644
--- a/ipsectools-listcerts-html.lsp
+++ b/ipsectools-listcerts-html.lsp
@@ -25,6 +25,6 @@
<% end %>
</TABLE></DL>
-<% if viewlibrary.dispatch_component and session.permissions.ipsectools.uploadcert then
+<% if viewlibrary.dispatch_component and viewlibrary.check_permission("uploadcert") then
viewlibrary.dispatch_component("uploadcert")
end %>