summaryrefslogtreecommitdiff
path: root/httemplate/browse/part_export.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/browse/part_export.cgi')
-rwxr-xr-xhttemplate/browse/part_export.cgi5
1 files changed, 4 insertions, 1 deletions
diff --git a/httemplate/browse/part_export.cgi b/httemplate/browse/part_export.cgi
index 0f6731739..7b8ac8c20 100755
--- a/httemplate/browse/part_export.cgi
+++ b/httemplate/browse/part_export.cgi
@@ -1,4 +1,3 @@
-<!-- mason kludge -->
<% include("/elements/header.html","Export Listing", menubar( 'Main Menu' => "$p#sysadmin" )) %>
Provisioning services to external machines, databases and APIs.<BR><BR>
<A HREF="<% $p %>edit/part_export.cgi"><I>Add a new export</I></A><BR><BR>
@@ -39,3 +38,7 @@ function part_export_areyousure(href) {
</TABLE>
</BODY>
</HTML>
+<%init>
+die "access denied"
+ unless $FS::CurrentUser::CurrentUser->access_right('Configuration');
+</%init>