From c6cc30b44087e6af84283dcf8d199bb95f35fdf5 Mon Sep 17 00:00:00 2001 From: Ted Trask Date: Thu, 17 Dec 2009 10:26:02 +0000 Subject: Use viewlibrary.check_permission from acf-core-0.9.0 --- openssl-status-html.lsp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'openssl-status-html.lsp') diff --git a/openssl-status-html.lsp b/openssl-status-html.lsp index decc991..1837ab0 100644 --- a/openssl-status-html.lsp +++ b/openssl-status-html.lsp @@ -6,7 +6,7 @@

System Info

<% displayitem(view.value.version) %> -<% if view.value.version and view.value.version.errtxt and session.permissions.apk and session.permissions.apk.install then %> +<% if view.value.version and view.value.version.errtxt and viewlibrary.check_permission("apk-tools/apk/install") then %> Install <% end %> <% displayitem(view.value.conffile) %> @@ -17,17 +17,17 @@ <% if not view.value.version.errtxt and not view.value.conffile.errtxt then if view.value.environment.errtxt then - if viewlibrary and viewlibrary.dispatch_component and session.permissions.openssl.checkenvironment then + if viewlibrary and viewlibrary.dispatch_component and viewlibrary.check_permission("checkenvironment") then viewlibrary.dispatch_component("checkenvironment") end elseif not view.value.cacert.errtxt and not view.value.cakey.errtxt then %>

CA Certificate contents

<%= html.html_escape(view.value.cacertcontents.value) %>
<% elseif viewlibrary and viewlibrary.dispatch_component then - if session.permissions.openssl.putcacert then + if viewlibrary.check_permission("putcacert") then viewlibrary.dispatch_component("putcacert") end - if session.permissions.openssl.generatecacert then + if viewlibrary.check_permission("generatecacert") then viewlibrary.dispatch_component("generatecacert") end end -- cgit v1.2.3