Speicherroutine darf nur auf "customer_vendor_edit" testen
authorMoritz Bunkus <m.bunkus@linet-services.de>
Thu, 20 Sep 2012 11:03:40 +0000 (13:03 +0200)
committerMoritz Bunkus <m.bunkus@linet-services.de>
Thu, 20 Sep 2012 11:04:09 +0000 (13:04 +0200)
bin/mozilla/ct.pl

index 31c70d0..b1634cb 100644 (file)
@@ -521,9 +521,7 @@ sub form_footer {
 }
 
 sub _do_save {
-  $main::auth->assert('customer_vendor_edit & ' .
-                      '(general_ledger         | invoice_edit         | vendor_invoice_edit | ' .
-                      ' request_quotation_edit | sales_quotation_edit | sales_order_edit    | purchase_order_edit)');
+  $main::auth->assert('customer_vendor_edit');
 
   $::form->isblank("name", $::locale->text("Name missing!"));