diff options
Diffstat (limited to 'httemplate/edit/part_pkg.cgi')
-rwxr-xr-x | httemplate/edit/part_pkg.cgi | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/httemplate/edit/part_pkg.cgi b/httemplate/edit/part_pkg.cgi index 82d622610..7e7944871 100755 --- a/httemplate/edit/part_pkg.cgi +++ b/httemplate/edit/part_pkg.cgi @@ -363,13 +363,9 @@ Line-item revenue recognition <% include('/elements/footer.html') %> <%init> -#1.7 die "access denied" - unless $FS::CurrentUser::CurrentUser->access_right('Configuration'); -#1.9 -#die "access denied" -# unless $FS::CurrentUser::CurrentUser->access_right('Edit package definitions') -# || $FS::CurrentUser::CurrentUser->access_right('Edit global package definitions'); + unless $FS::CurrentUser::CurrentUser->access_right('Edit package definitions') + || $FS::CurrentUser::CurrentUser->access_right('Edit global package definitions'); if ( $cgi->param('clone') && $cgi->param('clone') =~ /^(\d+)$/ ) { $cgi->param('clone', $1); |