add customer status column to customer & most other reports. also put the C in ACL...
[freeside.git] / httemplate / search / sql.html
index 681a95d..5f64ebc 100644 (file)
@@ -5,3 +5,9 @@
                                        || eidiot('Empty query') ),
     )
 %>
+<%init>
+
+die "access denied"
+  unless $FS::CurrentUser::CurrentUser->access_right('Raw SQL');
+
+</%init>