summaryrefslogtreecommitdiff
path: root/httemplate/edit/reason.html
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/edit/reason.html')
-rw-r--r--httemplate/edit/reason.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/httemplate/edit/reason.html b/httemplate/edit/reason.html
index 0a3598268..abe573fcb 100644
--- a/httemplate/edit/reason.html
+++ b/httemplate/edit/reason.html
@@ -40,3 +40,9 @@
'viewall_url' => $p . "browse/reason.html?class=$class",
)
%>
+<%init>
+
+die "access denied"
+ unless $FS::CurrentUser::CurrentUser->access_right('Configuration');
+
+</%init>