From 1a6ef4e8cb00fe664cb7510805586e72f1afd316 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Fri, 30 Aug 2013 11:05:39 +0200 Subject: [PATCH] Rechte: select_name/name_selected muss auch gehen, wenn nur das Lieferscheinrecht gesetzt ist. --- bin/mozilla/arap.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.20.1