diff options
author | Ted Trask <ttrask01@yahoo.com> | 2009-12-17 10:26:12 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2009-12-17 10:26:12 +0000 |
commit | c3ba8496ee6e31c284175f68fef501f4f5b2ede4 (patch) | |
tree | 4330375babe717c6200b7ce9384a18221c04db42 | |
parent | 653dc2aa8bd03c5434abc769f749df987905a0c6 (diff) | |
download | acf-openssh-c3ba8496ee6e31c284175f68fef501f4f5b2ede4.tar.bz2 acf-openssh-c3ba8496ee6e31c284175f68fef501f4f5b2ede4.tar.xz |
Use viewlibrary.check_permission from acf-core-0.9.0
-rw-r--r-- | openssh-welcome-html.lsp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/openssh-welcome-html.lsp b/openssh-welcome-html.lsp index d627bd6..e194aec 100644 --- a/openssh-welcome-html.lsp +++ b/openssh-welcome-html.lsp @@ -1,10 +1,10 @@ <% local data, viewlibrary, page_info, session = ... %> -<% if viewlibrary and viewlibrary.dispatch_component and session.permissions[page_info.controller].connectedpeers then +<% if viewlibrary and viewlibrary.dispatch_component and viewlibrary.check_permission("connectedpeers") then viewlibrary.dispatch_component("status") end %> -<% if viewlibrary and viewlibrary.dispatch_component and session.permissions[page_info.controller].connectedpeers then +<% if viewlibrary and viewlibrary.dispatch_component and viewlibrary.check_permission("connectedpeers") then viewlibrary.dispatch_component("connectedpeers") end %> |