| 
      
            Lines 28-34
          return {
      
      
        Link Here
      
     | 
  
        
          | 28 | 
                  foreach my $row (@rows_to_insert) { $insert_sth->execute( @{$row} ); $count++; } | 
          28 | 
                  foreach my $row (@rows_to_insert) { $insert_sth->execute( @{$row} ); $count++; } | 
        
        
          | 29 | 
           | 
          29 | 
           | 
        
        
          | 30 | 
                  if ($count) { | 
          30 | 
                  if ($count) { | 
        
          
            
              | 31 | 
                          say_info( $out, "list_borrowers added to $count users with edit_borrowers" );  | 
              31 | 
                          say_info( $out, "Added permission 'list_borrowers' to $count users with 'edit_borrowers' permissions" );  | 
            
        
          | 32 | 
                  }  | 
          32 | 
                  }  | 
        
        
          | 33 | 
           | 
          33 | 
           | 
        
        
          | 34 | 
                  # Check for 'circulate' or 'circulate > manage_bookings' permission  | 
          34 | 
                  # Check for 'circulate' or 'circulate > manage_bookings' permission  | 
        
  
    | 
      
            Lines 44-50
          return {
      
      
        Link Here
      
     | 
  
        
          | 44 | 
                  foreach my $row (@rows_to_insert) { $insert_sth->execute( @{$row} ); $count++; } | 
          44 | 
                  foreach my $row (@rows_to_insert) { $insert_sth->execute( @{$row} ); $count++; } | 
        
        
          | 45 | 
           | 
          45 | 
           | 
        
        
          | 46 | 
                  if ($count) { | 
          46 | 
                  if ($count) { | 
        
          
            
              | 47 | 
                          say_info( $out, "list_borrowers added to $count users with manage_bookings" );  | 
              47 | 
                          say_info( $out, "Added permission 'list_borrowers' to $count users with 'manage_bookings' permissions" );  | 
            
        
          | 48 | 
                  }  | 
          48 | 
                  }  | 
        
        
          | 49 | 
           | 
          49 | 
           | 
        
        
          | 50 | 
                  # Check for 'tools' or 'tools > label_creator' permission  | 
          50 | 
                  # Check for 'tools' or 'tools > label_creator' permission  | 
        
  
    | 
      
            Lines 60-66
          return {
      
      
        Link Here
      
     | 
  
        
          | 60 | 
                  foreach my $row (@rows_to_insert) { $insert_sth->execute( @{$row} ); $count++; } | 
          60 | 
                  foreach my $row (@rows_to_insert) { $insert_sth->execute( @{$row} ); $count++; } | 
        
        
          | 61 | 
           | 
          61 | 
           | 
        
        
          | 62 | 
                  if ($count) { | 
          62 | 
                  if ($count) { | 
        
          
            
              | 63 | 
                          say_info( $out, "list_borrowers added to $count users with label_creator" );  | 
              63 | 
                          say_info( $out, "Added permission 'list_borrowers' to $count users with 'label_creator' permissions" );  | 
            
        
          | 64 | 
                  }  | 
          64 | 
                  }  | 
        
        
          | 65 | 
           | 
          65 | 
           | 
        
        
          | 66 | 
                  # Check for 'serials' or 'serials > routing' permission  | 
          66 | 
                  # Check for 'serials' or 'serials > routing' permission  | 
        
  
    | 
      
            Lines 76-82
          return {
      
      
        Link Here
      
     | 
  
        
          | 76 | 
                  foreach my $row (@rows_to_insert) { $insert_sth->execute( @{$row} ); $count++ } | 
          76 | 
                  foreach my $row (@rows_to_insert) { $insert_sth->execute( @{$row} ); $count++ } | 
        
        
          | 77 | 
           | 
          77 | 
           | 
        
        
          | 78 | 
                  if ($count) { | 
          78 | 
                  if ($count) { | 
        
          
            
              | 79 | 
                          say_info( $out, "list_borrowers added to $count users with routing" );  | 
              79 | 
                          say_info( $out, "Added permission 'list_borrowers' to $count users with 'routing' permissions" );  | 
            
        
          | 80 | 
                  }  | 
          80 | 
                  }  | 
        
        
          | 81 | 
           | 
          81 | 
           | 
        
        
          | 82 | 
                  # Check for 'acquisitions' or 'acquisitions > order_manage' permission  | 
          82 | 
                  # Check for 'acquisitions' or 'acquisitions > order_manage' permission  | 
        
  
    | 
      
            Lines 92-98
          return {
      
      
        Link Here
      
     | 
  
        
          | 92 | 
                  foreach my $row (@rows_to_insert) { $insert_sth->execute( @{$row} ); $count++ } | 
          92 | 
                  foreach my $row (@rows_to_insert) { $insert_sth->execute( @{$row} ); $count++ } | 
        
        
          | 93 | 
           | 
          93 | 
           | 
        
        
          | 94 | 
                  if ($count) { | 
          94 | 
                  if ($count) { | 
        
          
            
              | 95 | 
                          say_info( $out, "list_borrowers added to $count users with order_manage" );  | 
              95 | 
                          say_info( $out, "Added permission 'list_borrowers' to $count users with 'order_manage' permissions" );  | 
            
        
          | 96 | 
                  }  | 
          96 | 
                  }  | 
        
        
          | 97 | 
              },  | 
          97 | 
              },  | 
        
        
          | 98 | 
          };  | 
          98 | 
          };  |