Bug 34790

Summary: Wrong permission check for labels tools
Product: Koha Reporter: Nick Clemens (kidclamp) <nick>
Component: ToolsAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low CC: lisette.scheer
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Bug Depends on: 34288    
Bug Blocks:    

Description Nick Clemens (kidclamp) 2023-09-14 12:21:20 UTC
Most of the labels scripts have 'catalogue => 1'

But there exists a permission:
 Create printable labels and barcodes from catalog and patron data (label_creator) 

Files with wrong or no checks:
labels/label-create-csv.pl
labels/label-create-xml.pl
labels/label-edit-batch.pl
labels/label-edit-layout.pl
labels/label-edit-profile.pl
labels/label-edit-range.pl
labels/label-edit-template.pl
labels/label-home.pl
labels/label-item-search.pl
labels/label-manage.pl
labels/label-print.pl
labels/spinelabel-home.pl
labels/spinelabel-print.pl