From: Sven Schöling Date: Fri, 30 Aug 2013 09:05:39 +0000 (+0200) Subject: Rechte: select_name/name_selected muss auch gehen, wenn nur das Lieferscheinrecht... X-Git-Tag: release-3.1.0beta1~74 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=1a6ef4e8cb00fe664cb7510805586e72f1afd316;p=kivitendo-erp.git Rechte: select_name/name_selected muss auch gehen, wenn nur das Lieferscheinrecht gesetzt ist. --- diff --git a/bin/mozilla/arap.pl b/bin/mozilla/arap.pl index 347c152c7..254498680 100644 --- a/bin/mozilla/arap.pl +++ b/bin/mozilla/arap.pl @@ -148,7 +148,7 @@ sub select_name { my $form = $main::form; my $locale = $main::locale; - $main::auth->assert('general_ledger | vendor_invoice_edit | sales_order_edit | invoice_edit |' . + $main::auth->assert('general_ledger | vendor_invoice_edit | sales_order_edit | invoice_edit | sales_delivery_order_edit |' . 'request_quotation_edit | sales_quotation_edit | purchase_order_edit | cash'); my ($table) = @_; @@ -258,7 +258,7 @@ sub name_selected { my $form = $main::form; my %myconfig = %main::myconfig; - $main::auth->assert('general_ledger | vendor_invoice_edit | sales_order_edit | invoice_edit |' . + $main::auth->assert('general_ledger | vendor_invoice_edit | sales_order_edit | invoice_edit | sales_delivery_order_edit | ' . 'request_quotation_edit | sales_quotation_edit | purchase_order_edit | cash'); # replace the variable with the one checked