Revert "Recht für Anzeige der Produktivität"
[kivitendo-erp.git] / bin / mozilla / fu.pl
index ef80a73..3b5adb2 100644 (file)
@@ -10,8 +10,6 @@ use strict;
 sub _collect_links {
   $main::lxdebug->enter_sub();
 
-  $main::auth->assert('productivity');
-
   my $dest = shift;
 
   my $form     = $main::form;
@@ -30,8 +28,6 @@ sub _collect_links {
 sub add {
   $main::lxdebug->enter_sub();
 
-  $main::auth->assert('productivity');
-
   my $form     = $main::form;
   my %myconfig = %main::myconfig;
   my $locale   = $main::locale;
@@ -61,8 +57,6 @@ sub add {
 sub edit {
   $main::lxdebug->enter_sub();
 
-  $main::auth->assert('productivity');
-
   my $form     = $main::form;
   my $locale   = $main::locale;
 
@@ -88,8 +82,6 @@ sub edit {
 sub display_form {
   $main::lxdebug->enter_sub();
 
-  $main::auth->assert('productivity');
-
   my $form     = $main::form;
 
   $form->get_lists("employees" => "EMPLOYEES");
@@ -110,8 +102,6 @@ sub display_form {
 sub save_follow_up {
   $main::lxdebug->enter_sub();
 
-  $main::auth->assert('productivity');
-
   my $form     = $main::form;
   my $locale   = $main::locale;
 
@@ -149,8 +139,6 @@ sub save_follow_up {
 sub finish {
   $main::lxdebug->enter_sub();
 
-  $main::auth->assert('productivity');
-
   my $form     = $main::form;
   my $locale   = $main::locale;
 
@@ -187,8 +175,6 @@ sub finish {
 sub delete {
   $main::lxdebug->enter_sub();
 
-  $main::auth->assert('productivity');
-
   my $form     = $main::form;
   my $locale   = $main::locale;
 
@@ -225,8 +211,6 @@ sub delete {
 sub search {
   $main::lxdebug->enter_sub();
 
-  $main::auth->assert('productivity');
-
   my $form     = $main::form;
   my $locale   = $main::locale;
 
@@ -244,8 +228,6 @@ sub search {
 sub report {
   $main::lxdebug->enter_sub();
 
-  $main::auth->assert('productivity');
-
   my $form     = $main::form;
   my %myconfig = %main::myconfig;
   my $locale   = $main::locale;
@@ -358,8 +340,6 @@ sub report {
 sub report_for_todo_list {
   $main::lxdebug->enter_sub();
 
-  $main::auth->assert('productivity');
-
   my $form     = $main::form;
 
   my @report_params = qw(created_for subject body reference follow_up_date_from follow_up_date_to itime_from itime_to due_only all_users done not_done);
@@ -399,8 +379,6 @@ sub report_for_todo_list {
 sub edit_access_rights {
   $main::lxdebug->enter_sub();
 
-  $main::auth->assert('productivity');
-
   my $form     = $main::form;
   my $locale   = $main::locale;
 
@@ -421,8 +399,6 @@ sub edit_access_rights {
 sub save_access_rights {
   $main::lxdebug->enter_sub();
 
-  $main::auth->assert('productivity');
-
   my $form     = $main::form;
   my $locale   = $main::locale;
 
@@ -451,8 +427,6 @@ sub continue {
 }
 
 sub save {
-  $main::auth->assert('productivity');
-
   if ($main::form->{save_nextsub}) {
     call_sub($main::form->{save_nextsub});
   } else {