summaryrefslogtreecommitdiff
path: root/httemplate/browse/part_referral.html
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/browse/part_referral.html')
-rwxr-xr-xhttemplate/browse/part_referral.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/httemplate/browse/part_referral.html b/httemplate/browse/part_referral.html
index 0e61a908e..065d8c1c1 100755
--- a/httemplate/browse/part_referral.html
+++ b/httemplate/browse/part_referral.html
@@ -139,3 +139,9 @@ Where a customer heard about your service. Tracked for informational purposes.
</TABLE>
</BODY>
</HTML>
+<%init>
+die "access denied"
+ unless $FS::CurrentUser::CurrentUser->access_right('Configuration')
+ || $FS::CurrentUser::CurrentUser->access_right('Edit advertising sources')
+ || $FS::CurrentUser::CurrentUser->access_right('Edit global advertising sources');
+</%init>