summaryrefslogtreecommitdiffstats
path: root/tinydns-listfiles-html.lsp
diff options
context:
space:
mode:
Diffstat (limited to 'tinydns-listfiles-html.lsp')
-rw-r--r--tinydns-listfiles-html.lsp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tinydns-listfiles-html.lsp b/tinydns-listfiles-html.lsp
index 1b53187..46753ec 100644
--- a/tinydns-listfiles-html.lsp
+++ b/tinydns-listfiles-html.lsp
@@ -35,7 +35,7 @@ io.write("</span>")
<? end ?>
</TABLE>
-<? if viewlibrary and viewlibrary.dispatch_component then
+<? if viewlibrary and viewlibrary.dispatch_component and session.permissions.tinydns.newfile then
local newfileform = viewlibrary.dispatch_component("newfile", nil, true) ?>
<h2>Create new Domain</h2>
<?