[freeside-commits] freeside/httemplate/search report_phone_avail.html, 1.1, 1.2 phone_avail.html, 1.4, 1.5
Erik Levinson
levinse at wavetail.420.am
Tue Dec 28 08:30:00 PST 2010
Update of /home/cvs/cvsroot/freeside/httemplate/search
In directory wavetail.420.am:/tmp/cvs-serv10160/httemplate/search
Modified Files:
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.4
retrieving revision 1.5
diff -u -w -d -r1.4 -r1.5
--- phone_avail.html 10 Nov 2010 19:35:10 -0000 1.4
+++ phone_avail.html 28 Dec 2010 16:29:58 -0000 1.5
@@ -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
retrieving revision 1.2
diff -u -w -d -r1.1 -r1.2
--- report_phone_avail.html 9 Nov 2010 02:51:49 -0000 1.1
+++ report_phone_avail.html 28 Dec 2010 16:29:58 -0000 1.2
@@ -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