diff options
author | Mark Wells <mark@freeside.biz> | 2014-08-06 18:36:52 -0700 |
---|---|---|
committer | Mark Wells <mark@freeside.biz> | 2014-08-06 18:36:58 -0700 |
commit | f8066fa6a33f4ac33beec675b17de96c8c0a274b (patch) | |
tree | 4671858a8d28478fc255db156d62fa52628fcfcb /httemplate/edit/process/bulk-part_pkg-fcc.html | |
parent | 8cfa2aa87c0c9f44da6b5b9e065868524ca014b3 (diff) |
477 report tweaks
Diffstat (limited to 'httemplate/edit/process/bulk-part_pkg-fcc.html')
-rw-r--r-- | httemplate/edit/process/bulk-part_pkg-fcc.html | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/httemplate/edit/process/bulk-part_pkg-fcc.html b/httemplate/edit/process/bulk-part_pkg-fcc.html index 17579aa61..4a0fb2a22 100644 --- 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; -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 |