[freeside-commits] freeside/httemplate/search/elements search.html, 1.40, 1.41

Ivan,,, ivan at wavetail.420.am
Tue Jan 27 01:39:17 PST 2009


Update of /home/cvs/cvsroot/freeside/httemplate/search/elements
In directory wavetail.420.am:/tmp/cvs-serv6564/httemplate/search/elements

Modified Files:
	search.html 
Log Message:
add ACL to allow download of browse/ stuff too, when possible.  RT#4681

Index: search.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/search/elements/search.html,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -d -r1.40 -r1.41
--- search.html	4 Apr 2008 17:47:50 -0000	1.40
+++ search.html	27 Jan 2009 09:39:14 -0000	1.41
@@ -699,6 +699,9 @@
 $opt{align} = [ map $align{$_}, split(//, $opt{align}) ],
   unless !$opt{align} || ref($opt{align});
 
+$opt{disable_download} = 0
+  if $opt{disable_download} && $curuser->access_right('Configuration download');
+
 if ( $opt{'agent_virt'} ) {
 
   my $agentnums_sql = $curuser->agentnums_sql(



More information about the freeside-commits mailing list