[freeside-commits] freeside/httemplate/search report_phone_avail.html, 1.1.2.2, 1.1.2.3 phone_avail.html, 1.1.8.3, 1.1.8.4

Erik Levinson levinse at wavetail.420.am
Tue Dec 28 08:30:01 PST 2010


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

Modified Files:
      Tag: FREESIDE_2_1_BRANCH
	report_phone_avail.html phone_avail.html 
Log Message:
better access rights for phone_avail report, part 1, RT10464

Index: phone_avail.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/search/phone_avail.html,v
retrieving revision 1.1.8.3
retrieving revision 1.1.8.4
diff -u -w -d -r1.1.8.3 -r1.1.8.4
--- phone_avail.html	10 Nov 2010 19:35:45 -0000	1.1.8.3
+++ phone_avail.html	28 Dec 2010 16:29:59 -0000	1.1.8.4
@@ -74,7 +74,8 @@
 <%init>
 
 die "access denied"
-  unless $FS::CurrentUser::CurrentUser->access_right('Import');
+  unless ( $FS::CurrentUser::CurrentUser->access_right('List inventory')
+	 );
 
 my @search = ();
 

Index: report_phone_avail.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/search/report_phone_avail.html,v
retrieving revision 1.1.2.2
retrieving revision 1.1.2.3
diff -u -w -d -r1.1.2.2 -r1.1.2.3
--- report_phone_avail.html	9 Nov 2010 02:51:50 -0000	1.1.2.2
+++ report_phone_avail.html	28 Dec 2010 16:29:59 -0000	1.1.2.3
@@ -83,8 +83,7 @@
 <%init>
 
 die "access denied"
-  unless ( $FS::CurrentUser::CurrentUser->access_right('List customers') &&
-           $FS::CurrentUser::CurrentUser->access_right('List packages')
+  unless ( $FS::CurrentUser::CurrentUser->access_right('List inventory')
          );
 
 my $conf = new FS::Conf;



More information about the freeside-commits mailing list