[freeside-commits] freeside/httemplate/edit/process/addr_block add.cgi, 1.4, 1.5 allocate.cgi, 1.4, 1.5 deallocate.cgi, 1.4, 1.5 split.cgi, 1.4, 1.5
Jeff Finucane,420,,
jeff at wavetail.420.am
Wed Sep 3 12:08:32 PDT 2008
Update of /home/cvs/cvsroot/freeside/httemplate/edit/process/addr_block
In directory wavetail.420.am:/tmp/cvs-serv5601/httemplate/edit/process/addr_block
Modified Files:
add.cgi allocate.cgi deallocate.cgi split.cgi
Log Message:
new access right names
Index: allocate.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/edit/process/addr_block/allocate.cgi,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- allocate.cgi 28 Jun 2008 19:25:24 -0000 1.4
+++ allocate.cgi 3 Sep 2008 19:08:29 -0000 1.5
@@ -10,7 +10,7 @@
my $conf = new FS::Conf;
my $curuser = $FS::CurrentUser::CurrentUser;
die "access denied"
- unless $curuser->access_right('Engineering configuration')
- || $curuser->access_right('Engineering global configuration');
+ unless $curuser->access_right('Broadband configuration')
+ || $curuser->access_right('Broadband global configuration');
</%init>
Index: deallocate.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/edit/process/addr_block/deallocate.cgi,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- deallocate.cgi 28 Jun 2008 19:25:24 -0000 1.4
+++ deallocate.cgi 3 Sep 2008 19:08:29 -0000 1.5
@@ -5,7 +5,7 @@
'redirect' => popurl(4). 'browse/addr_block.cgi?',
'error_redirect' => popurl(4). 'browse/addr_block.cgi?',
'agent_virt' => 1,
- 'agent_null_right' => 'Engineering global configuration',
+ 'agent_null_right' => 'Broadband global configuration',
)
%>
<%init>
@@ -13,8 +13,8 @@
my $conf = new FS::Conf;
my $curuser = $FS::CurrentUser::CurrentUser;
die "access denied"
- unless $curuser->access_right('Engineering configuration')
- || $curuser->access_right('Engineering global configuration');
+ unless $curuser->access_right('Broadband configuration')
+ || $curuser->access_right('Broadband global configuration');
$cgi->param('routernum', 0); # just to be explicit about what we are doing
</%init>
Index: split.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/edit/process/addr_block/split.cgi,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- split.cgi 28 Jun 2008 19:25:24 -0000 1.4
+++ split.cgi 3 Sep 2008 19:08:29 -0000 1.5
@@ -4,8 +4,8 @@
my $curuser = $FS::CurrentUser::CurrentUser;
die "access denied"
- unless $curuser->access_right('Engineering configuration')
- || $curuser->access_right('Engineering global configuration');
+ unless $curuser->access_right('Broadband configuration')
+ || $curuser->access_right('Broadband global configuration');
my $error = '';
$cgi->param('blocknum') =~ /^(\d+)$/ or die "invalid blocknum";
@@ -14,7 +14,7 @@
my $addr_block = qsearchs({ 'table' => 'addr_block',
'hashref' => { blocknum => $blocknum },
'extra_sql' => ' AND '. $curuser->agentnums_sql(
- 'null_right' => 'Engineering global configuration'
+ 'null_right' => 'Broadband global configuration'
),
})
or $error = "Unknown blocknum: $blocknum";
Index: add.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/edit/process/addr_block/add.cgi,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- add.cgi 28 Jun 2008 19:25:24 -0000 1.4
+++ add.cgi 3 Sep 2008 19:08:28 -0000 1.5
@@ -3,7 +3,7 @@
'redirect' => popurl(4). 'browse/addr_block.cgi?dummy=',
'error_redirect' => popurl(4). 'browse/addr_block.cgi?',
'agent_virt' => 1,
- 'agent_null_right' => 'Engineering global configuration',
+ 'agent_null_right' => 'Broadband global configuration',
)
%>
@@ -11,8 +11,8 @@
my $curuser = $FS::CurrentUser::CurrentUser;
die "access denied"
- unless $curuser->access_right('Engineering configuration')
- || $curuser->access_right('Engineering global configuration');
+ unless $curuser->access_right('Broadband configuration')
+ || $curuser->access_right('Broadband global configuration');
$cgi->param('routernum', 0) # in FS::addr_block::check instead?
unless $cgi->param('routernum');
More information about the freeside-commits
mailing list