summaryrefslogtreecommitdiff
path: root/httemplate/edit
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2013-01-19 18:35:47 -0800
committerIvan Kohler <ivan@freeside.biz>2013-01-19 18:35:47 -0800
commita5e9d8372d96ef630beb17db3958163637dd73c6 (patch)
treec1d61d63d6569d9d892405a9da96e14044e9d135 /httemplate/edit
parent7858e5d1d31f2700f1deee1d861ffc3b297d05b0 (diff)
add separate ACL for line item crediting, RT#18676
Diffstat (limited to 'httemplate/edit')
-rw-r--r--httemplate/edit/credit-cust_bill_pkg.html2
-rw-r--r--httemplate/edit/process/credit-cust_bill_pkg.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/httemplate/edit/credit-cust_bill_pkg.html b/httemplate/edit/credit-cust_bill_pkg.html
index 3d1cf2438..b53c2772c 100644
--- a/httemplate/edit/credit-cust_bill_pkg.html
+++ b/httemplate/edit/credit-cust_bill_pkg.html
@@ -244,7 +244,7 @@ function calc_total(what) {
<%init>
my $curuser = $FS::CurrentUser::CurrentUser;
-die "access denied" unless $curuser->access_right('Post credit');
+die "access denied" unless $curuser->access_right('Credit line items');
#a tiny bit of false laziness w/search/cust_bill_pkg.cgi, but we're pretty
# specialized and a piece of UI, not a report
diff --git a/httemplate/edit/process/credit-cust_bill_pkg.html b/httemplate/edit/process/credit-cust_bill_pkg.html
index cbcf619ca..8e66368d4 100644
--- a/httemplate/edit/process/credit-cust_bill_pkg.html
+++ b/httemplate/edit/process/credit-cust_bill_pkg.html
@@ -10,7 +10,7 @@
<%init>
die "access denied"
- unless $FS::CurrentUser::CurrentUser->access_right('Post credit');
+ unless $FS::CurrentUser::CurrentUser->access_right('Credit line items');
my @billpkgnum_setuprecurs =
map { $_ =~ /^billpkgnum(\d+\-\w*)$/ or die 'gm#23'; $1; }