Bug 34790 - Wrong permission check for labels tools
Summary: Wrong permission check for labels tools
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Tools (show other bugs)
Version: Main
Hardware: All All
: P5 - low normal (vote)
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on: 34288
Blocks:
  Show dependency treegraph
 
Reported: 2023-09-14 12:21 UTC by Nick Clemens (kidclamp)
Modified: 2023-09-21 15:58 UTC (History)
1 user (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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