View | Details | Raw Unified | Return to bug 7673
Collapse All | Expand All

(-)a/installer/data/mysql/updatedatabase.pl (-1 / +4 lines)
Lines 8105-8110 if ( C4::Context->preference("Version") < TransformToNum($DBversion) ) { Link Here
8105
       INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES ('SubfieldsToAllowForLimitedBatchmod','','Define a list of subfields for which edition is authorized when items_limited_batchmod permission is enabled, separated by spaces. Example: 995\$f 995\$h 995\$j','','Free');
8105
       INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES ('SubfieldsToAllowForLimitedBatchmod','','Define a list of subfields for which edition is authorized when items_limited_batchmod permission is enabled, separated by spaces. Example: 995\$f 995\$h 995\$j','','Free');
8106
   });
8106
   });
8107
8107
8108
    $dbh->do(q{
8109
        INSERT INTO user_permissions (borrowernumber, module_bit, code) SELECT borrowernumber, module_bit, "delete_all_items" FROM user_permissions WHERE code="edit_items";
8110
    });
8111
8108
    print "Upgrade to $DBversion done (Bug 7673: Adds new permissions for cataloguing and batch item modification)\n";
8112
    print "Upgrade to $DBversion done (Bug 7673: Adds new permissions for cataloguing and batch item modification)\n";
8109
8113
8110
    SetVersion($DBversion);
8114
    SetVersion($DBversion);
8111
- 

Return to bug 7673