projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
477 report tweaks
[freeside.git]
/
httemplate
/
edit
/
process
/
bulk-part_pkg-fcc.html
diff --git
a/httemplate/edit/process/bulk-part_pkg-fcc.html
b/httemplate/edit/process/bulk-part_pkg-fcc.html
index
17579aa
..
4a0fb2a
100644
(file)
--- a/
httemplate/edit/process/bulk-part_pkg-fcc.html
+++ b/
httemplate/edit/process/bulk-part_pkg-fcc.html
@@
-21,8
+21,9
@@
% }
<%init>
my $curuser = $FS::CurrentUser::CurrentUser;
% }
<%init>
my $curuser = $FS::CurrentUser::CurrentUser;
-die "access denied"
- unless $curuser->access_right('Bulk edit package definitions');
+my $edit_acl = $curuser->access_right('Edit FCC report configuration');
+my $global_edit_acl = $curuser->access_right('Edit FCC report configuration for all agents');
+die "access denied" unless $edit_acl or $global_edit_acl;
# non-atomic; report errors but allow successful changes to go through
# not that I even know how you'd get an error doing this
# non-atomic; report errors but allow successful changes to go through
# not that I even know how you'd get an error doing this