From 10c58c629bb0d09977dcd9fd840a27b8b50ad117 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Mon, 17 Feb 2020 13:20:48 +0100 Subject: [PATCH] Bug 24663: Remove authnotrequired if set to 0 It defaults to 0 in get_template_and_user Signed-off-by: Martin Renvoize Signed-off-by: Tomas Cohen Arazi Signed-off-by: Lucas Gass (cherry picked from commit 79f7a3fc024323d8b4016d201a222118801bdcc6) --- about.pl | 1 - acqui/acqui-home.pl | 1 - acqui/add_user_search.pl | 1 - acqui/addorder.pl | 2 -- acqui/addorderiso2709.pl | 1 - acqui/basket.pl | 1 - acqui/basketgroup.pl | 1 - acqui/basketheader.pl | 1 - acqui/booksellers.pl | 1 - acqui/cancelorder.pl | 1 - acqui/check_budget_total.pl | 1 - acqui/duplicate_orders.pl | 1 - acqui/edi_ean.pl | 1 - acqui/edifactmsgs.pl | 1 - acqui/edimsg.pl | 1 - acqui/histsearch.pl | 1 - acqui/invoice-files.pl | 1 - acqui/invoice.pl | 1 - acqui/invoices.pl | 1 - acqui/lateorders-export.pl | 1 - acqui/lateorders.pl | 1 - acqui/modordernotes.pl | 1 - acqui/neworderempty.pl | 2 -- acqui/newordersubscription.pl | 1 - acqui/ordered.pl | 1 - acqui/orderreceive.pl | 1 - acqui/parcel.pl | 1 - acqui/parcels.pl | 1 - acqui/showorder.pl | 1 - acqui/spent.pl | 1 - acqui/supplier.pl | 1 - acqui/uncertainprice.pl | 1 - admin/add_user_search.pl | 1 - admin/additional-fields.pl | 1 - admin/admin-home.pl | 1 - admin/aqbudgetperiods.pl | 1 - admin/aqbudgets.pl | 1 - admin/aqcontract.pl | 1 - admin/aqplan.pl | 1 - admin/audio_alerts.pl | 1 - admin/auth_subfields_structure.pl | 1 - admin/auth_tag_structure.pl | 1 - admin/authorised_values.pl | 1 - admin/authtypes.pl | 1 - admin/biblio_framework.pl | 1 - admin/branches.pl | 1 - admin/cash_registers.pl | 1 - admin/categories.pl | 1 - admin/check_budget_parent.pl | 1 - admin/check_parent_total.pl | 1 - admin/checkmarc.pl | 1 - admin/cities.pl | 1 - admin/classsources.pl | 1 - admin/clone-rules.pl | 1 - admin/columns_settings.pl | 1 - admin/currency.pl | 1 - admin/debit_types.pl | 1 - admin/didyoumean.pl | 1 - admin/edi_accounts.pl | 1 - admin/edi_ean_accounts.pl | 1 - admin/item_circulation_alerts.pl | 1 - admin/items_search_field.pl | 1 - admin/items_search_fields.pl | 1 - admin/itemtypes.pl | 1 - admin/koha2marclinks.pl | 1 - admin/library_groups.pl | 1 - admin/localization.pl | 1 - admin/marc_subfields_structure.pl | 1 - admin/marctagstructure.pl | 1 - admin/matching-rules.pl | 1 - admin/oai_set_mappings.pl | 1 - admin/oai_sets.pl | 1 - admin/overdrive.pl | 1 - admin/patron-attr-types.pl | 1 - admin/preferences.pl | 1 - admin/searchengine/elasticsearch/mappings.pl | 1 - admin/share_content.pl | 1 - admin/smart-rules.pl | 1 - admin/sms_providers.pl | 1 - admin/sru_modmapping.pl | 1 - admin/systempreferences.pl | 1 - admin/transport-cost-matrix.pl | 1 - admin/usage_statistics.pl | 1 - admin/z3950servers.pl | 1 - authorities/auth_finder.pl | 1 - authorities/authorities-home.pl | 3 --- authorities/authorities.pl | 1 - authorities/blinddetail-biblio-search.pl | 1 - authorities/detail-biblio-search.pl | 1 - authorities/detail.pl | 1 - authorities/export.pl | 1 - authorities/merge.pl | 1 - basket/downloadcart.pl | 1 - basket/sendbasket.pl | 1 - catalogue/ISBDdetail.pl | 1 - catalogue/MARCdetail.pl | 1 - catalogue/detail.pl | 1 - catalogue/export.pl | 1 - catalogue/imageviewer.pl | 1 - catalogue/issuehistory.pl | 1 - catalogue/itemsearch.pl | 1 - catalogue/labeledMARCdetail.pl | 1 - catalogue/moredetail.pl | 1 - catalogue/search-history.pl | 1 - catalogue/search.pl | 1 - catalogue/showmarc.pl | 1 - catalogue/stockrotation.pl | 1 - cataloguing/addbiblio.pl | 1 - cataloguing/addbooks.pl | 1 - cataloguing/additem.pl | 1 - cataloguing/editor.pl | 1 - cataloguing/linkitem.pl | 1 - cataloguing/merge.pl | 1 - cataloguing/moveitem.pl | 1 - cataloguing/value_builder/EXAMPLE.pl | 1 - cataloguing/value_builder/callnumber-KU.pl | 1 - cataloguing/value_builder/callnumber.pl | 1 - cataloguing/value_builder/cn_browser.pl | 1 - cataloguing/value_builder/macles.pl | 1 - cataloguing/value_builder/marc21_field_006.pl | 1 - cataloguing/value_builder/marc21_field_007.pl | 1 - cataloguing/value_builder/marc21_field_008.pl | 1 - cataloguing/value_builder/marc21_field_008_authorities.pl | 1 - cataloguing/value_builder/marc21_field_008_classifications.pl | 1 - cataloguing/value_builder/marc21_leader.pl | 1 - cataloguing/value_builder/marc21_leader_authorities.pl | 1 - cataloguing/value_builder/marc21_linking_section.pl | 3 --- cataloguing/value_builder/normarc_field_007.pl | 1 - cataloguing/value_builder/normarc_field_008.pl | 1 - cataloguing/value_builder/normarc_leader.pl | 1 - cataloguing/value_builder/stocknumberAV.pl | 1 - cataloguing/value_builder/stocknumberam123.pl | 1 - cataloguing/value_builder/unimarc_field_010.pl | 1 - cataloguing/value_builder/unimarc_field_100.pl | 1 - cataloguing/value_builder/unimarc_field_100_authorities.pl | 1 - cataloguing/value_builder/unimarc_field_105.pl | 1 - cataloguing/value_builder/unimarc_field_106.pl | 1 - cataloguing/value_builder/unimarc_field_110.pl | 1 - cataloguing/value_builder/unimarc_field_115a.pl | 1 - cataloguing/value_builder/unimarc_field_115b.pl | 1 - cataloguing/value_builder/unimarc_field_116.pl | 1 - cataloguing/value_builder/unimarc_field_117.pl | 1 - cataloguing/value_builder/unimarc_field_120.pl | 1 - cataloguing/value_builder/unimarc_field_121a.pl | 1 - cataloguing/value_builder/unimarc_field_121b.pl | 1 - cataloguing/value_builder/unimarc_field_122.pl | 1 - cataloguing/value_builder/unimarc_field_123a.pl | 1 - cataloguing/value_builder/unimarc_field_123d.pl | 1 - cataloguing/value_builder/unimarc_field_123e.pl | 1 - cataloguing/value_builder/unimarc_field_123f.pl | 1 - cataloguing/value_builder/unimarc_field_123g.pl | 1 - cataloguing/value_builder/unimarc_field_123i.pl | 1 - cataloguing/value_builder/unimarc_field_123j.pl | 1 - cataloguing/value_builder/unimarc_field_124.pl | 1 - cataloguing/value_builder/unimarc_field_124a.pl | 1 - cataloguing/value_builder/unimarc_field_124b.pl | 1 - cataloguing/value_builder/unimarc_field_124c.pl | 1 - cataloguing/value_builder/unimarc_field_124d.pl | 1 - cataloguing/value_builder/unimarc_field_124e.pl | 1 - cataloguing/value_builder/unimarc_field_124f.pl | 1 - cataloguing/value_builder/unimarc_field_124g.pl | 1 - cataloguing/value_builder/unimarc_field_125.pl | 1 - cataloguing/value_builder/unimarc_field_125a.pl | 1 - cataloguing/value_builder/unimarc_field_125b.pl | 1 - cataloguing/value_builder/unimarc_field_126.pl | 1 - cataloguing/value_builder/unimarc_field_126a.pl | 1 - cataloguing/value_builder/unimarc_field_126b.pl | 1 - cataloguing/value_builder/unimarc_field_127.pl | 1 - cataloguing/value_builder/unimarc_field_128a.pl | 1 - cataloguing/value_builder/unimarc_field_128b.pl | 1 - cataloguing/value_builder/unimarc_field_128c.pl | 1 - cataloguing/value_builder/unimarc_field_130.pl | 1 - cataloguing/value_builder/unimarc_field_135a.pl | 1 - cataloguing/value_builder/unimarc_field_140.pl | 1 - cataloguing/value_builder/unimarc_field_141.pl | 1 - cataloguing/value_builder/unimarc_field_210c.pl | 2 -- cataloguing/value_builder/unimarc_field_210c_bis.pl | 1 - cataloguing/value_builder/unimarc_field_225a.pl | 1 - cataloguing/value_builder/unimarc_field_225a_bis.pl | 1 - cataloguing/value_builder/unimarc_field_4XX.pl | 3 --- cataloguing/value_builder/unimarc_field_686a.pl | 1 - cataloguing/value_builder/unimarc_field_700-4.pl | 1 - cataloguing/value_builder/unimarc_leader.pl | 1 - circ/add_message.pl | 1 - circ/article-request-slip.pl | 1 - circ/article-requests.pl | 1 - circ/bookcount.pl | 1 - circ/branchoverdues.pl | 1 - circ/branchtransfers.pl | 1 - circ/checkout-notes.pl | 1 - circ/circulation-home.pl | 1 - circ/circulation.pl | 1 - circ/del_message.pl | 1 - circ/hold-transfer-slip.pl | 1 - circ/offline-mf.pl | 1 - circ/offline.pl | 1 - circ/on-site_checkouts.pl | 1 - circ/overdue.pl | 1 - circ/pendingreserves.pl | 1 - circ/renew.pl | 1 - circ/request-article.pl | 1 - circ/reserveratios.pl | 1 - circ/returns.pl | 1 - circ/set-library.pl | 1 - circ/transfer-slip.pl | 1 - circ/transferstoreceive.pl | 1 - circ/view_holdsqueue.pl | 1 - circ/waitingreserves.pl | 1 - clubs/club-enrollments.pl | 1 - clubs/clubs-add-modify.pl | 1 - clubs/clubs.pl | 1 - clubs/patron-clubs-tab.pl | 1 - clubs/patron-enroll.pl | 1 - clubs/templates-add-modify.pl | 1 - course_reserves/add_items.pl | 1 - course_reserves/batch_add_items.pl | 1 - course_reserves/course-details.pl | 1 - course_reserves/course-reserves.pl | 1 - course_reserves/course.pl | 1 - course_reserves/mod_course.pl | 1 - installer/install.pl | 1 - installer/onboarding.pl | 1 - labels/label-create-pdf.pl | 1 - labels/label-edit-batch.pl | 1 - labels/label-edit-layout.pl | 1 - labels/label-edit-profile.pl | 1 - labels/label-edit-range.pl | 1 - labels/label-edit-template.pl | 1 - labels/label-home.pl | 1 - labels/label-item-search.pl | 2 -- labels/label-manage.pl | 1 - labels/label-print.pl | 1 - labels/spinelabel-home.pl | 1 - labels/spinelabel-print.pl | 1 - mainpage.pl | 1 - members/accountline-details.pl | 1 - members/apikeys.pl | 1 - members/boraccount.pl | 1 - members/deletemem.pl | 1 - members/discharge.pl | 1 - members/discharges.pl | 1 - members/files.pl | 1 - members/guarantor_search.pl | 1 - members/holdshistory.pl | 1 - members/housebound.pl | 1 - members/ill-requests.pl | 1 - members/mancredit.pl | 1 - members/maninvoice.pl | 1 - members/member-flags.pl | 1 - members/member-password.pl | 1 - members/member.pl | 1 - members/memberentry.pl | 1 - members/members-home.pl | 1 - members/members-update-do.pl | 1 - members/members-update.pl | 1 - members/merge-patrons.pl | 1 - members/moremember.pl | 1 - members/notices.pl | 1 - members/pay.pl | 1 - members/paycollect.pl | 1 - members/print_overdues.pl | 1 - members/printfeercpt.pl | 1 - members/printinvoice.pl | 1 - members/printslip.pl | 1 - members/purchase-suggestions.pl | 1 - members/readingrec.pl | 1 - members/routing-lists.pl | 1 - members/statistics.pl | 1 - members/summary-print.pl | 1 - members/update-child.pl | 1 - offline_circ/enqueue_koc.pl | 1 - offline_circ/list.pl | 1 - offline_circ/process.pl | 1 - offline_circ/process_koc.pl | 1 - opac/clubs/clubs-tab.pl | 1 - opac/clubs/enroll.pl | 1 - opac/opac-account-pay-paypal-return.pl | 1 - opac/opac-account-pay.pl | 1 - opac/opac-account.pl | 1 - opac/opac-addbybiblionumber.pl | 1 - opac/opac-article-request-cancel.pl | 1 - opac/opac-ics.pl | 1 - opac/opac-illrequests.pl | 1 - opac/opac-issue-note.pl | 1 - opac/opac-messaging.pl | 1 - opac/opac-modrequest-suspend.pl | 1 - opac/opac-modrequest.pl | 1 - opac/opac-mymessages.pl | 1 - opac/opac-passwd.pl | 1 - opac/opac-patron-consent.pl | 1 - opac/opac-privacy.pl | 1 - opac/opac-readingrecord.pl | 1 - opac/opac-renew.pl | 1 - opac/opac-request-article.pl | 1 - opac/opac-reserve.pl | 1 - opac/opac-routing-lists.pl | 1 - opac/opac-sendbasket.pl | 1 - opac/opac-sendshelf.pl | 1 - opac/opac-suggestions.pl | 1 - opac/opac-user.pl | 1 - opac/sci/sci-main.pl | 1 - opac/sco/sco-main.pl | 1 - opac/svc/auth/googleopenidconnect | 1 - patron_lists/add-modify.pl | 1 - patron_lists/delete.pl | 1 - patron_lists/list.pl | 1 - patron_lists/lists.pl | 1 - patron_lists/patrons.pl | 1 - patroncards/add_user_search.pl | 1 - patroncards/create-pdf.pl | 1 - patroncards/edit-batch.pl | 1 - patroncards/edit-layout.pl | 1 - patroncards/edit-profile.pl | 1 - patroncards/edit-template.pl | 1 - patroncards/home.pl | 1 - patroncards/image-manage.pl | 1 - patroncards/manage.pl | 1 - patroncards/print.pl | 1 - plugins/plugins-home.pl | 1 - plugins/plugins-uninstall.pl | 1 - plugins/plugins-upload.pl | 1 - plugins/run.pl | 1 - pos/pay.pl | 1 - pos/printreceipt.pl | 1 - reports/acquisitions_stats.pl | 1 - reports/bor_issues_top.pl | 1 - reports/borrowers_out.pl | 1 - reports/borrowers_stats.pl | 1 - reports/cash_register_stats.pl | 1 - reports/cat_issues_top.pl | 1 - reports/catalogue_out.pl | 1 - reports/catalogue_stats.pl | 1 - reports/dictionary.pl | 1 - reports/guided_reports.pl | 1 - reports/issues_avg_stats.pl | 1 - reports/issues_stats.pl | 1 - reports/itemslost.pl | 1 - reports/manager.pl | 1 - reports/orders_by_fund.pl | 1 - reports/reports-home.pl | 1 - reports/reserves_stats.pl | 1 - reports/serials_stats.pl | 1 - reserve/modrequest.pl | 1 - reserve/modrequest_suspendall.pl | 1 - reserve/request.pl | 1 - reviews/reviewswaiting.pl | 1 - rotating_collections/addItems.pl | 1 - rotating_collections/editCollections.pl | 1 - rotating_collections/rotatingCollections.pl | 1 - rotating_collections/transferCollection.pl | 1 - serials/acqui-search-result.pl | 1 - serials/acqui-search.pl | 1 - serials/add_user_search.pl | 1 - serials/checkexpiration.pl | 1 - serials/claims.pl | 1 - serials/routing-preview.pl | 2 -- serials/routing.pl | 1 - serials/serials-collection.pl | 1 - serials/serials-edit.pl | 1 - serials/serials-home.pl | 1 - serials/serials-search.pl | 1 - serials/showpredictionpattern.pl | 1 - serials/subscription-add.pl | 1 - serials/subscription-batchedit.pl | 1 - serials/subscription-bib-search.pl | 2 -- serials/subscription-detail.pl | 1 - serials/subscription-frequencies.pl | 1 - serials/subscription-history.pl | 1 - serials/subscription-numberpatterns.pl | 1 - serials/subscription-renew.pl | 1 - serials/viewalerts.pl | 1 - svc/convert_report | 1 - svc/letters/preview | 1 - svc/mana/search | 1 - svc/members/search | 1 - svc/report | 1 - svc/virtualshelves/search | 1 - t/db_dependent/Search/History.t | 2 -- tags/list.pl | 1 - tags/review.pl | 1 - tools/access_files.pl | 1 - tools/automatic_item_modification_by_age.pl | 1 - tools/batchMod.pl | 1 - tools/batch_delete_records.pl | 1 - tools/batch_record_modification.pl | 1 - tools/cleanborrowers.pl | 1 - tools/csv-profiles.pl | 1 - tools/export.pl | 1 - tools/holidays.pl | 1 - tools/import_borrowers.pl | 1 - tools/inventory.pl | 1 - tools/koha-news.pl | 1 - tools/letter.pl | 1 - tools/manage-marc-import.pl | 1 - tools/marc_modification_templates.pl | 1 - tools/modborrowers.pl | 1 - tools/overduerules.pl | 1 - tools/picture-upload.pl | 1 - tools/quotes-upload.pl | 1 - tools/quotes.pl | 1 - tools/scheduler.pl | 1 - tools/showdiffmarc.pl | 1 - tools/stage-marc-import.pl | 1 - tools/stockrotation.pl | 1 - tools/tools-home.pl | 1 - tools/upload-cover-image.pl | 1 - tools/upload.pl | 1 - tools/viewlog.pl | 1 - virtualshelves/addbybiblionumber.pl | 1 - virtualshelves/downloadshelf.pl | 1 - virtualshelves/sendshelf.pl | 2 -- virtualshelves/shelves.pl | 1 - 412 files changed, 426 deletions(-) diff --git a/about.pl b/about.pl index 066db24e44..ad85b6aadb 100755 --- a/about.pl +++ b/about.pl @@ -62,7 +62,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( template_name => "about.tt", query => $query, type => "intranet", - authnotrequired => 0, flagsrequired => { catalogue => 1 }, debug => 1, } diff --git a/acqui/acqui-home.pl b/acqui/acqui-home.pl index 9c70773f8f..37f9ae645f 100755 --- a/acqui/acqui-home.pl +++ b/acqui/acqui-home.pl @@ -44,7 +44,6 @@ my ( $template, $loggedinuser, $cookie, $userflags ) = get_template_and_user( { template_name => 'acqui/acqui-home.tt', query => $query, type => 'intranet', - authnotrequired => 0, flagsrequired => { acquisition => '*' }, debug => 1, } diff --git a/acqui/add_user_search.pl b/acqui/add_user_search.pl index d2481c6237..8301f9aff0 100755 --- a/acqui/add_user_search.pl +++ b/acqui/add_user_search.pl @@ -34,7 +34,6 @@ my ( $template, $loggedinuser, $cookie, $staff_flags ) = get_template_and_user( { template_name => "common/patron_search.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => { acquisition => 'order_manage' }, } ); diff --git a/acqui/addorder.pl b/acqui/addorder.pl index abbea1e0c2..049d8ad1e7 100755 --- a/acqui/addorder.pl +++ b/acqui/addorder.pl @@ -159,7 +159,6 @@ unless($confirm_budget_exceeding) { template_name => "acqui/addorder.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => {acquisition => 'order_manage'}, }); @@ -216,7 +215,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( template_name => "acqui/booksellers.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => { acquisition => 'order_manage' }, debug => 1, } diff --git a/acqui/addorderiso2709.pl b/acqui/addorderiso2709.pl index 8d394d3ca5..b9fa2395c9 100755 --- a/acqui/addorderiso2709.pl +++ b/acqui/addorderiso2709.pl @@ -55,7 +55,6 @@ my ($template, $loggedinuser, $cookie, $userflags) = get_template_and_user({ template_name => "acqui/addorderiso2709.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => { acquisition => 'order_manage' }, debug => 1, }); diff --git a/acqui/basket.pl b/acqui/basket.pl index 61bd8ad9a8..5f292d3624 100755 --- a/acqui/basket.pl +++ b/acqui/basket.pl @@ -85,7 +85,6 @@ our ( $template, $loggedinuser, $cookie, $userflags ) = get_template_and_user( template_name => "acqui/basket.tt", query => $query, type => "intranet", - authnotrequired => 0, flagsrequired => { acquisition => 'order_manage' }, debug => 1, } diff --git a/acqui/basketgroup.pl b/acqui/basketgroup.pl index 5a49f77114..db63b3faea 100755 --- a/acqui/basketgroup.pl +++ b/acqui/basketgroup.pl @@ -65,7 +65,6 @@ our ($template, $loggedinuser, $cookie) = get_template_and_user({template_name => "acqui/basketgroup.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => {acquisition => 'group_manage'}, debug => 1, }); diff --git a/acqui/basketheader.pl b/acqui/basketheader.pl index 1e6fde50ad..737f94cf6f 100755 --- a/acqui/basketheader.pl +++ b/acqui/basketheader.pl @@ -63,7 +63,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( template_name => "acqui/basketheader.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => { acquisition => 'order_manage' }, debug => 1, } diff --git a/acqui/booksellers.pl b/acqui/booksellers.pl index 78b36a9691..9b15aac94c 100755 --- a/acqui/booksellers.pl +++ b/acqui/booksellers.pl @@ -69,7 +69,6 @@ my ( $template, $loggedinuser, $cookie, $userflags ) = get_template_and_user( { template_name => 'acqui/booksellers.tt', query => $query, type => 'intranet', - authnotrequired => 0, flagsrequired => { acquisition => '*' }, debug => 1, } diff --git a/acqui/cancelorder.pl b/acqui/cancelorder.pl index bb5086bb4d..71deb630dc 100755 --- a/acqui/cancelorder.pl +++ b/acqui/cancelorder.pl @@ -42,7 +42,6 @@ my ($template, $loggedinuser, $cookie, $flags) = get_template_and_user( { template_name => 'acqui/cancelorder.tt', query => $input, type => 'intranet', - authnotrequired => 0, flagsrequired => { 'acquisition' => 'order_manage' }, debug => 1, } ); diff --git a/acqui/check_budget_total.pl b/acqui/check_budget_total.pl index 4981b83e07..c45360eabe 100755 --- a/acqui/check_budget_total.pl +++ b/acqui/check_budget_total.pl @@ -38,7 +38,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( { template_name => "acqui/ajax.tt", query => $input, type => "intranet", - authnotrequired => 0, debug => 1, } ); my $budget = GetBudget($budget_id); diff --git a/acqui/duplicate_orders.pl b/acqui/duplicate_orders.pl index 7f03221c5b..6db9018b73 100755 --- a/acqui/duplicate_orders.pl +++ b/acqui/duplicate_orders.pl @@ -39,7 +39,6 @@ my ( $template, $loggedinuser, $cookie, $userflags ) = get_template_and_user( template_name => "acqui/duplicate_orders.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => { acquisition => 'order_manage' }, } ); diff --git a/acqui/edi_ean.pl b/acqui/edi_ean.pl index cf8be4f3c2..6ed67916c9 100755 --- a/acqui/edi_ean.pl +++ b/acqui/edi_ean.pl @@ -51,7 +51,6 @@ else { template_name => 'acqui/edi_ean.tt', query => $query, type => 'intranet', - authnotrequired => 0, flagsrequired => { acquisition => 'order_manage' }, debug => 1, } diff --git a/acqui/edifactmsgs.pl b/acqui/edifactmsgs.pl index 20baa5f3d6..8f4ec63c4a 100755 --- a/acqui/edifactmsgs.pl +++ b/acqui/edifactmsgs.pl @@ -30,7 +30,6 @@ my ( $template, $loggedinuser, $cookie, $userflags ) = get_template_and_user( template_name => 'acqui/edifactmsgs.tt', query => $q, type => 'intranet', - authnotrequired => 0, flagsrequired => { acquisition => 'edi_manage' }, debug => 1, } diff --git a/acqui/edimsg.pl b/acqui/edimsg.pl index c9c25ca6de..d5b84d26d6 100755 --- a/acqui/edimsg.pl +++ b/acqui/edimsg.pl @@ -30,7 +30,6 @@ my ( $template, $loggedinuser, $cookie, $userflags ) = get_template_and_user( template_name => 'acqui/edimsg.tt', query => $q, type => 'intranet', - authnotrequired => 0, flagsrequired => { acquisition => 'edi_manage' }, debug => 1, } diff --git a/acqui/histsearch.pl b/acqui/histsearch.pl index 1f097d828f..64802dddaa 100755 --- a/acqui/histsearch.pl +++ b/acqui/histsearch.pl @@ -68,7 +68,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( template_name => "acqui/histsearch.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => { acquisition => '*' }, debug => 1, } diff --git a/acqui/invoice-files.pl b/acqui/invoice-files.pl index ce674e437b..8aa517ce11 100755 --- a/acqui/invoice-files.pl +++ b/acqui/invoice-files.pl @@ -41,7 +41,6 @@ my ( $template, $loggedinuser, $cookie, $flags ) = get_template_and_user( template_name => 'acqui/invoice-files.tt', query => $input, type => 'intranet', - authnotrequired => 0, flagsrequired => { 'acquisition' => '*' }, debug => 1, } diff --git a/acqui/invoice.pl b/acqui/invoice.pl index 60724aa5f4..80869a5fad 100755 --- a/acqui/invoice.pl +++ b/acqui/invoice.pl @@ -46,7 +46,6 @@ my ( $template, $loggedinuser, $cookie, $flags ) = get_template_and_user( template_name => 'acqui/invoice.tt', query => $input, type => 'intranet', - authnotrequired => 0, flagsrequired => { 'acquisition' => '*' }, debug => 1, } diff --git a/acqui/invoices.pl b/acqui/invoices.pl index 8ab7a3256d..076e26733b 100755 --- a/acqui/invoices.pl +++ b/acqui/invoices.pl @@ -43,7 +43,6 @@ my ( $template, $loggedinuser, $cookie, $flags ) = get_template_and_user( template_name => 'acqui/invoices.tt', query => $input, type => 'intranet', - authnotrequired => 0, flagsrequired => { 'acquisition' => '*' }, debug => 1, } diff --git a/acqui/lateorders-export.pl b/acqui/lateorders-export.pl index 397535428c..7cdc18a556 100755 --- a/acqui/lateorders-export.pl +++ b/acqui/lateorders-export.pl @@ -29,7 +29,6 @@ my ($template, $loggedinuser, $cookie) = get_template_and_user({ template_name => "acqui/csv/lateorders.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => {acquisition => 'order_receive'}, }); my @ordernumbers = $input->multi_param('ordernumber'); diff --git a/acqui/lateorders.pl b/acqui/lateorders.pl index 565d6b5c5a..bd03be46fd 100755 --- a/acqui/lateorders.pl +++ b/acqui/lateorders.pl @@ -61,7 +61,6 @@ my ($template, $loggedinuser, $cookie) = get_template_and_user( template_name => "acqui/lateorders.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => { acquisition => 'order_receive' }, debug => 1, } diff --git a/acqui/modordernotes.pl b/acqui/modordernotes.pl index d0bd672e44..7801c7f911 100755 --- a/acqui/modordernotes.pl +++ b/acqui/modordernotes.pl @@ -40,7 +40,6 @@ my ($template, $loggedinuser, $cookie, $flags) = get_template_and_user( { template_name => 'acqui/modordernotes.tt', query => $input, type => 'intranet', - authnotrequired => 0, flagsrequired => { 'acquisition' => '*' }, debug => 1, } ); diff --git a/acqui/neworderempty.pl b/acqui/neworderempty.pl index dfa9ebe9ff..40e4444f69 100755 --- a/acqui/neworderempty.pl +++ b/acqui/neworderempty.pl @@ -115,7 +115,6 @@ our ( $template, $loggedinuser, $cookie, $userflags ) = get_template_and_user( template_name => "acqui/neworderempty.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => { acquisition => 'order_manage' }, debug => 1, } @@ -581,7 +580,6 @@ sub Load_Duplicate { template_name => "acqui/neworderempty_duplicate.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => { acquisition => 'order_manage' }, # debug => 1, } diff --git a/acqui/newordersubscription.pl b/acqui/newordersubscription.pl index 51151af7f2..db14455c88 100755 --- a/acqui/newordersubscription.pl +++ b/acqui/newordersubscription.pl @@ -45,7 +45,6 @@ my ( $template, $loggedinuser, $cookie, $flags ) = get_template_and_user( { template_name => "acqui/newordersubscription.tt", query => $query, type => "intranet", - authnotrequired => 0, flagsrequired => { acquisition => 'order_manage' }, } ); diff --git a/acqui/ordered.pl b/acqui/ordered.pl index 8f095302dd..a3b3436049 100755 --- a/acqui/ordered.pl +++ b/acqui/ordered.pl @@ -45,7 +45,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( template_name => "acqui/ordered.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => { acquisition => '*' }, debug => 1, } diff --git a/acqui/orderreceive.pl b/acqui/orderreceive.pl index dea4f439be..022c5e9ec9 100755 --- a/acqui/orderreceive.pl +++ b/acqui/orderreceive.pl @@ -99,7 +99,6 @@ my ( $template, $loggedinuser, $cookie, $userflags ) = get_template_and_user( template_name => "acqui/orderreceive.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => {acquisition => 'order_receive'}, debug => 1, } diff --git a/acqui/parcel.pl b/acqui/parcel.pl index 8d094d8ffe..c67c09df78 100755 --- a/acqui/parcel.pl +++ b/acqui/parcel.pl @@ -81,7 +81,6 @@ my ($template, $loggedinuser, $cookie) = get_template_and_user({template_name => "acqui/parcel.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => {acquisition => 'order_receive'}, debug => 1, }); diff --git a/acqui/parcels.pl b/acqui/parcels.pl index 69aeb78939..03d5ed0dfc 100755 --- a/acqui/parcels.pl +++ b/acqui/parcels.pl @@ -92,7 +92,6 @@ our ( $template, $loggedinuser, $cookie, $flags ) = get_template_and_user( { template_name => 'acqui/parcels.tt', query => $input, type => 'intranet', - authnotrequired => 0, flagsrequired => { acquisition => 'order_receive' }, debug => 1, } diff --git a/acqui/showorder.pl b/acqui/showorder.pl index 5b21612e81..fe434c9cec 100755 --- a/acqui/showorder.pl +++ b/acqui/showorder.pl @@ -29,7 +29,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user({ template_name => "acqui/showorder.tt", query => $cgi, type => "intranet", - authnotrequired => 0, flagsrequired => { acquisition => '*' }, }); diff --git a/acqui/spent.pl b/acqui/spent.pl index 083429a338..e69f41e9e4 100755 --- a/acqui/spent.pl +++ b/acqui/spent.pl @@ -47,7 +47,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( template_name => "acqui/spent.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => { acquisition => '*' }, debug => 1, } diff --git a/acqui/supplier.pl b/acqui/supplier.pl index 40235dfacd..1d436ac3a9 100755 --- a/acqui/supplier.pl +++ b/acqui/supplier.pl @@ -59,7 +59,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( { template_name => 'acqui/supplier.tt', query => $query, type => 'intranet', - authnotrequired => 0, flagsrequired => { acquisition => '*' }, debug => 1, } diff --git a/acqui/uncertainprice.pl b/acqui/uncertainprice.pl index bd98a71001..93f7975381 100755 --- a/acqui/uncertainprice.pl +++ b/acqui/uncertainprice.pl @@ -61,7 +61,6 @@ my ($template, $loggedinuser, $cookie) = get_template_and_user({template_name => "acqui/uncertainprice.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => { acquisition => 'order_manage' }, debug => 1, }); diff --git a/admin/add_user_search.pl b/admin/add_user_search.pl index ba3989aa51..d31cf11355 100755 --- a/admin/add_user_search.pl +++ b/admin/add_user_search.pl @@ -34,7 +34,6 @@ my ( $template, $loggedinuser, $cookie, $staff_flags ) = get_template_and_user( { template_name => "common/patron_search.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => { acquisition => 'budget_modify' }, } ); diff --git a/admin/additional-fields.pl b/admin/additional-fields.pl index f2516d71cf..a7b4ffe701 100755 --- a/admin/additional-fields.pl +++ b/admin/additional-fields.pl @@ -41,7 +41,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( template_name => "admin/additional-fields.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => \%flagsrequired, debug => 1, } diff --git a/admin/admin-home.pl b/admin/admin-home.pl index f6d609fb45..785901d8f4 100755 --- a/admin/admin-home.pl +++ b/admin/admin-home.pl @@ -32,7 +32,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( template_name => "admin/admin-home.tt", query => $query, type => "intranet", - authnotrequired => 0, flagsrequired => { parameters => '*' }, debug => 1, } diff --git a/admin/aqbudgetperiods.pl b/admin/aqbudgetperiods.pl index aa2998d91a..39588d626c 100755 --- a/admin/aqbudgetperiods.pl +++ b/admin/aqbudgetperiods.pl @@ -82,7 +82,6 @@ my ($template, $borrowernumber, $cookie, $staff_flags ) = get_template_and_user( template_name => "admin/aqbudgetperiods.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => { acquisition => 'period_manage' }, debug => 1, } diff --git a/admin/aqbudgets.pl b/admin/aqbudgets.pl index 684e0e2159..b9ba3b5855 100755 --- a/admin/aqbudgets.pl +++ b/admin/aqbudgets.pl @@ -43,7 +43,6 @@ my ($template, $borrowernumber, $cookie, $staffflags ) = get_template_and_user( { template_name => "admin/aqbudgets.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => { acquisition => 'budget_manage' }, debug => 0, } diff --git a/admin/aqcontract.pl b/admin/aqcontract.pl index e4f1d8d139..e942ae4d31 100755 --- a/admin/aqcontract.pl +++ b/admin/aqcontract.pl @@ -41,7 +41,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( { template_name => "admin/aqcontract.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => { acquisition => 'contracts_manage' }, debug => 1, } diff --git a/admin/aqplan.pl b/admin/aqplan.pl index 0ba3d25fef..d602513a36 100755 --- a/admin/aqplan.pl +++ b/admin/aqplan.pl @@ -45,7 +45,6 @@ my ( $template, $borrowernumber, $cookie, $staff_flags ) = get_template_and_user { template_name => "admin/aqplan.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => { acquisition => 'planning_manage' }, debug => 0, } diff --git a/admin/audio_alerts.pl b/admin/audio_alerts.pl index 1ee2e4cb67..7cbad60242 100755 --- a/admin/audio_alerts.pl +++ b/admin/audio_alerts.pl @@ -39,7 +39,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( template_name => "admin/audio_alerts.tt", query => $cgi, type => "intranet", - authnotrequired => 0, flagsrequired => { parameters => 'manage_audio_alerts' }, debug => 1, } diff --git a/admin/auth_subfields_structure.pl b/admin/auth_subfields_structure.pl index 866e5f7407..1115a9f361 100755 --- a/admin/auth_subfields_structure.pl +++ b/admin/auth_subfields_structure.pl @@ -61,7 +61,6 @@ my ($template, $borrowernumber, $cookie) = get_template_and_user( { template_name => "admin/auth_subfields_structure.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => { parameters => 'manage_marc_frameworks' }, debug => 1, } diff --git a/admin/auth_tag_structure.pl b/admin/auth_tag_structure.pl index b66cbff017..311b52d751 100755 --- a/admin/auth_tag_structure.pl +++ b/admin/auth_tag_structure.pl @@ -49,7 +49,6 @@ my ($template, $loggedinuser, $cookie) = get_template_and_user({template_name => "admin/auth_tag_structure.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => {parameters => 'manage_marc_frameworks'}, debug => 1, }); diff --git a/admin/authorised_values.pl b/admin/authorised_values.pl index 8717556086..6f365e670a 100755 --- a/admin/authorised_values.pl +++ b/admin/authorised_values.pl @@ -41,7 +41,6 @@ my @messages; our ($template, $borrowernumber, $cookie)= get_template_and_user({ template_name => "admin/authorised_values.tt", - authnotrequired => 0, flagsrequired => {parameters => 'manage_auth_values'}, query => $input, type => "intranet", diff --git a/admin/authtypes.pl b/admin/authtypes.pl index c864db792a..4141c68d40 100755 --- a/admin/authtypes.pl +++ b/admin/authtypes.pl @@ -36,7 +36,6 @@ my ( $template, $borrowernumber, $cookie ) = get_template_and_user( { template_name => "admin/authtypes.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => { parameters => 'manage_marc_frameworks' }, debug => 1, } diff --git a/admin/biblio_framework.pl b/admin/biblio_framework.pl index 0c30e95774..f3bd4435f9 100755 --- a/admin/biblio_framework.pl +++ b/admin/biblio_framework.pl @@ -38,7 +38,6 @@ my ( $template, $borrowernumber, $cookie ) = get_template_and_user( { template_name => "admin/biblio_framework.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => { parameters => 'manage_marc_frameworks' }, debug => 1, } diff --git a/admin/branches.pl b/admin/branches.pl index 68b9c25ce5..34e4757fe3 100755 --- a/admin/branches.pl +++ b/admin/branches.pl @@ -38,7 +38,6 @@ my ( $template, $borrowernumber, $cookie ) = get_template_and_user( { template_name => "admin/branches.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => { parameters => 'manage_libraries' }, debug => 1, } diff --git a/admin/cash_registers.pl b/admin/cash_registers.pl index 56e29a7663..ae39c11986 100755 --- a/admin/cash_registers.pl +++ b/admin/cash_registers.pl @@ -36,7 +36,6 @@ my ( $template, $borrowernumber, $cookie ) = get_template_and_user( template_name => 'admin/cash_registers.tt', query => $cgi, type => 'intranet', - authnotrequired => 0, flagsrequired => { parameters => 'manage_cash_registers' }, } ); diff --git a/admin/categories.pl b/admin/categories.pl index f9144e7ced..6e6b92e8f6 100755 --- a/admin/categories.pl +++ b/admin/categories.pl @@ -42,7 +42,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( template_name => "admin/categories.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => { parameters => 'manage_patron_categories' }, debug => 1, } diff --git a/admin/check_budget_parent.pl b/admin/check_budget_parent.pl index 0fdedfbfc9..c82e684245 100755 --- a/admin/check_budget_parent.pl +++ b/admin/check_budget_parent.pl @@ -40,7 +40,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( { template_name => "acqui/ajax.tt", query => $input, type => "intranet", - authnotrequired => 0, debug => 0, } ); diff --git a/admin/check_parent_total.pl b/admin/check_parent_total.pl index 6da8d28668..72f3b5ef06 100755 --- a/admin/check_parent_total.pl +++ b/admin/check_parent_total.pl @@ -46,7 +46,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( { template_name => "acqui/ajax.tt", query => $input, type => "intranet", - authnotrequired => 0, debug => 0, } ); diff --git a/admin/checkmarc.pl b/admin/checkmarc.pl index 3f5f61b6b4..174f0f90e6 100755 --- a/admin/checkmarc.pl +++ b/admin/checkmarc.pl @@ -32,7 +32,6 @@ my ($template, $borrowernumber, $cookie) = get_template_and_user({template_name => "admin/checkmarc.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => { parameters => 'manage_marc_frameworks' }, debug => 1, }); diff --git a/admin/cities.pl b/admin/cities.pl index 0688852246..f5fa45fd20 100755 --- a/admin/cities.pl +++ b/admin/cities.pl @@ -36,7 +36,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( { template_name => "admin/cities.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => { parameters => 'manage_cities' }, debug => 1, } diff --git a/admin/classsources.pl b/admin/classsources.pl index 697db41e45..a937f7bc18 100755 --- a/admin/classsources.pl +++ b/admin/classsources.pl @@ -49,7 +49,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( template_name => "admin/classsources.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => { parameters => 'manage_classifications' }, debug => 1, } diff --git a/admin/clone-rules.pl b/admin/clone-rules.pl index cefc11ede8..76472d0c0e 100755 --- a/admin/clone-rules.pl +++ b/admin/clone-rules.pl @@ -40,7 +40,6 @@ my ($template, $loggedinuser, $cookie) = get_template_and_user({template_name => "admin/clone-rules.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => {parameters => 'manage_circ_rules'}, debug => 1, }); diff --git a/admin/columns_settings.pl b/admin/columns_settings.pl index 5283963184..a32f7196d0 100755 --- a/admin/columns_settings.pl +++ b/admin/columns_settings.pl @@ -14,7 +14,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( template_name => "admin/columns_settings.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => { parameters => 'manage_column_config' }, debug => 1, } diff --git a/admin/currency.pl b/admin/currency.pl index 41003aeca9..d3dfab5e45 100755 --- a/admin/currency.pl +++ b/admin/currency.pl @@ -39,7 +39,6 @@ our ( $template, $loggedinuser, $cookie ) = get_template_and_user( { template_name => 'admin/currency.tt', query => $input, type => 'intranet', - authnotrequired => 0, flagsrequired => { acquisition => 'currencies_manage' }, } ); diff --git a/admin/debit_types.pl b/admin/debit_types.pl index fe09d0b839..df268cd72d 100755 --- a/admin/debit_types.pl +++ b/admin/debit_types.pl @@ -38,7 +38,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( template_name => "admin/debit_types.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => { parameters => 'parameters_remaining_permissions' }, debug => 1, } diff --git a/admin/didyoumean.pl b/admin/didyoumean.pl index 6cc0a2f9ec..59078c39dd 100755 --- a/admin/didyoumean.pl +++ b/admin/didyoumean.pl @@ -15,7 +15,6 @@ my ($template, $loggedinuser, $cookie) = get_template_and_user({template_name => "admin/didyoumean.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => {parameters => 'manage_didyoumean'}, debug => 1, }); diff --git a/admin/edi_accounts.pl b/admin/edi_accounts.pl index c4aba0f3d4..288fec519c 100755 --- a/admin/edi_accounts.pl +++ b/admin/edi_accounts.pl @@ -32,7 +32,6 @@ our ( $template, $loggedinuser, $cookie ) = get_template_and_user( template_name => 'admin/edi_accounts.tt', query => $input, type => 'intranet', - authnotrequired => 0, flagsrequired => { acquisition => 'edi_manage' }, } ); diff --git a/admin/edi_ean_accounts.pl b/admin/edi_ean_accounts.pl index 9f2a963ddc..a7edcf25f2 100755 --- a/admin/edi_ean_accounts.pl +++ b/admin/edi_ean_accounts.pl @@ -30,7 +30,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( template_name => 'admin/edi_ean_accounts.tt', query => $input, type => 'intranet', - authnotrequired => 0, flagsrequired => { acquisition => 'edi_manage' }, } ); diff --git a/admin/item_circulation_alerts.pl b/admin/item_circulation_alerts.pl index 9ea89a5b53..940356f785 100755 --- a/admin/item_circulation_alerts.pl +++ b/admin/item_circulation_alerts.pl @@ -43,7 +43,6 @@ sub show { template_name => "admin/item_circulation_alerts.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => { parameters => 'item_circ_alerts' }, debug => defined($input->param('debug')), } diff --git a/admin/items_search_field.pl b/admin/items_search_field.pl index f6ea777ec3..88bf4014cc 100755 --- a/admin/items_search_field.pl +++ b/admin/items_search_field.pl @@ -30,7 +30,6 @@ my ($template, $borrowernumber, $cookie) = get_template_and_user({ template_name => 'admin/items_search_field.tt', query => $cgi, type => 'intranet', - authnotrequired => 0, flagsrequired => { parameters => 'manage_item_search_fields' }, }); diff --git a/admin/items_search_fields.pl b/admin/items_search_fields.pl index ed0ff8577a..0923f57411 100755 --- a/admin/items_search_fields.pl +++ b/admin/items_search_fields.pl @@ -30,7 +30,6 @@ my ($template, $borrowernumber, $cookie) = get_template_and_user({ template_name => 'admin/items_search_fields.tt', query => $cgi, type => 'intranet', - authnotrequired => 0, flagsrequired => { parameters => 'manage_item_search_fields' }, }); diff --git a/admin/itemtypes.pl b/admin/itemtypes.pl index 7b13dac7b7..096239c3c2 100755 --- a/admin/itemtypes.pl +++ b/admin/itemtypes.pl @@ -45,7 +45,6 @@ my ( $template, $borrowernumber, $cookie ) = get_template_and_user( { template_name => "admin/itemtypes.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => { parameters => 'manage_itemtypes' }, debug => 1, } diff --git a/admin/koha2marclinks.pl b/admin/koha2marclinks.pl index 0f987cfdf5..d26f6e5084 100755 --- a/admin/koha2marclinks.pl +++ b/admin/koha2marclinks.pl @@ -36,7 +36,6 @@ my ( $template, $borrowernumber, $cookie ) = get_template_and_user ( template_name => "admin/koha2marclinks.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => { parameters => 'manage_marc_frameworks' }, debug => 1, } diff --git a/admin/library_groups.pl b/admin/library_groups.pl index dcf71c87a3..e8a02c4979 100755 --- a/admin/library_groups.pl +++ b/admin/library_groups.pl @@ -34,7 +34,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( template_name => "admin/library_groups.tt", query => $cgi, type => "intranet", - authnotrequired => 0, flagsrequired => { parameters => 'manage_libraries' }, debug => 1, } diff --git a/admin/localization.pl b/admin/localization.pl index f8bc553c05..e21a6346a9 100755 --- a/admin/localization.pl +++ b/admin/localization.pl @@ -30,7 +30,6 @@ my $query = new CGI; my ( $template, $borrowernumber, $cookie ) = get_template_and_user( { template_name => "admin/localization.tt", - authnotrequired => 0, flagsrequired => { parameters => 'manage_itemtypes' }, query => $query, type => "intranet", diff --git a/admin/marc_subfields_structure.pl b/admin/marc_subfields_structure.pl index 0dce186c6f..79a0a361e3 100755 --- a/admin/marc_subfields_structure.pl +++ b/admin/marc_subfields_structure.pl @@ -74,7 +74,6 @@ my ( $template, $borrowernumber, $cookie ) = get_template_and_user( template_name => "admin/marc_subfields_structure.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => { parameters => 'manage_marc_frameworks' }, debug => 1, } diff --git a/admin/marctagstructure.pl b/admin/marctagstructure.pl index d6b7d14b88..e53a339a27 100755 --- a/admin/marctagstructure.pl +++ b/admin/marctagstructure.pl @@ -52,7 +52,6 @@ my ($template, $loggedinuser, $cookie) = get_template_and_user({template_name => "admin/marctagstructure.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => { parameters => 'manage_marc_frameworks' }, debug => 1, }); diff --git a/admin/matching-rules.pl b/admin/matching-rules.pl index a9f85c63db..f6f8770135 100755 --- a/admin/matching-rules.pl +++ b/admin/matching-rules.pl @@ -37,7 +37,6 @@ my ($template, $loggedinuser, $cookie) = get_template_and_user({template_name => "admin/matching-rules.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => { parameters => 'manage_matching_rules' }, debug => 1, }); diff --git a/admin/oai_set_mappings.pl b/admin/oai_set_mappings.pl index f6477943ab..c24dceb235 100755 --- a/admin/oai_set_mappings.pl +++ b/admin/oai_set_mappings.pl @@ -44,7 +44,6 @@ my ($template, $loggedinuser, $cookie, $flags) = get_template_and_user( { template_name => 'admin/oai_set_mappings.tt', query => $input, type => 'intranet', - authnotrequired => 0, flagsrequired => { 'parameters' => 'manage_oai_sets' }, debug => 1, } ); diff --git a/admin/oai_sets.pl b/admin/oai_sets.pl index 0c75680b36..4f2a640905 100755 --- a/admin/oai_sets.pl +++ b/admin/oai_sets.pl @@ -40,7 +40,6 @@ my ($template, $loggedinuser, $cookie, $flags) = get_template_and_user( { template_name => 'admin/oai_sets.tt', query => $input, type => 'intranet', - authnotrequired => 0, flagsrequired => { 'parameters' => 'manage_oai_sets' }, debug => 1, } ); diff --git a/admin/overdrive.pl b/admin/overdrive.pl index c7359f263d..ef12d60ed8 100755 --- a/admin/overdrive.pl +++ b/admin/overdrive.pl @@ -35,7 +35,6 @@ our ( $template, $loggedinuser, $cookie ) = get_template_and_user( { template_name => 'admin/overdrive.tt', query => $input, type => 'intranet', - authnotrequired => 0, flagsrequired => { parameters => 'parameters_remaining_permissions' }, } ); diff --git a/admin/patron-attr-types.pl b/admin/patron-attr-types.pl index 8aab052be4..9835ee77cc 100755 --- a/admin/patron-attr-types.pl +++ b/admin/patron-attr-types.pl @@ -44,7 +44,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( { template_name => "admin/patron-attr-types.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => { parameters => 'manage_patron_attributes' } } ); diff --git a/admin/preferences.pl b/admin/preferences.pl index 3b1676e0e2..ae7d78a51a 100755 --- a/admin/preferences.pl +++ b/admin/preferences.pl @@ -301,7 +301,6 @@ my ( $template, $borrowernumber, $cookie ) = get_template_and_user( { template_name => "admin/preferences.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => { parameters => 'manage_sysprefs' }, debug => 1, } diff --git a/admin/searchengine/elasticsearch/mappings.pl b/admin/searchengine/elasticsearch/mappings.pl index 57a9656f9c..04440abc9b 100755 --- a/admin/searchengine/elasticsearch/mappings.pl +++ b/admin/searchengine/elasticsearch/mappings.pl @@ -38,7 +38,6 @@ my ( $template, $borrowernumber, $cookie ) = get_template_and_user( template_name => 'admin/searchengine/elasticsearch/mappings.tt', query => $input, type => 'intranet', - authnotrequired => 0, flagsrequired => { parameters => 'manage_search_engine_config' }, } ); diff --git a/admin/share_content.pl b/admin/share_content.pl index 3c76aba96d..dbd2c50471 100755 --- a/admin/share_content.pl +++ b/admin/share_content.pl @@ -32,7 +32,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( template_name => "admin/share_content.tt", query => $query, type => "intranet", - authnotrequired => 0, flagsrequired => { parameters => 'manage_mana' }, debug => 1, } diff --git a/admin/smart-rules.pl b/admin/smart-rules.pl index 4b8bfd8b5c..4559839e6e 100755 --- a/admin/smart-rules.pl +++ b/admin/smart-rules.pl @@ -43,7 +43,6 @@ my ($template, $loggedinuser, $cookie) = get_template_and_user({template_name => "admin/smart-rules.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => {parameters => 'manage_circ_rules'}, debug => 1, }); diff --git a/admin/sms_providers.pl b/admin/sms_providers.pl index 16efa374d6..007e001feb 100755 --- a/admin/sms_providers.pl +++ b/admin/sms_providers.pl @@ -35,7 +35,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( template_name => "admin/sms_providers.tt", query => $cgi, type => "intranet", - authnotrequired => 0, flagsrequired => { parameters => 'manage_sms_providers' }, debug => 1, } diff --git a/admin/sru_modmapping.pl b/admin/sru_modmapping.pl index 80d284c668..d798eea19d 100755 --- a/admin/sru_modmapping.pl +++ b/admin/sru_modmapping.pl @@ -31,7 +31,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( { template_name => $type eq "authority" ? "admin/sru_modmapping_auth.tt" : "admin/sru_modmapping.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => { parameters => 'manage_search_targets' }, }); diff --git a/admin/systempreferences.pl b/admin/systempreferences.pl index 32a5c93782..10264fbf02 100755 --- a/admin/systempreferences.pl +++ b/admin/systempreferences.pl @@ -215,7 +215,6 @@ my ( $template, $borrowernumber, $cookie ) = get_template_and_user( { template_name => "admin/systempreferences.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => { parameters => 'manage_sysprefs' }, debug => 1, } diff --git a/admin/transport-cost-matrix.pl b/admin/transport-cost-matrix.pl index beea9d2877..9ef26c72b1 100755 --- a/admin/transport-cost-matrix.pl +++ b/admin/transport-cost-matrix.pl @@ -36,7 +36,6 @@ my ($template, $loggedinuser, $cookie) = get_template_and_user({template_name => "admin/transport-cost-matrix.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => { parameters => 'manage_transfers' }, debug => 1, }); diff --git a/admin/usage_statistics.pl b/admin/usage_statistics.pl index 58df2655b8..8e35d6c56a 100755 --- a/admin/usage_statistics.pl +++ b/admin/usage_statistics.pl @@ -29,7 +29,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( template_name => "admin/usage_statistics.tt", query => $query, type => "intranet", - authnotrequired => 0, flagsrequired => { parameters => 'manage_usage_stats' }, debug => 1, } diff --git a/admin/z3950servers.pl b/admin/z3950servers.pl index d2e85c6014..bff9bd2ca0 100755 --- a/admin/z3950servers.pl +++ b/admin/z3950servers.pl @@ -44,7 +44,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( { template_name => "admin/z3950servers.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => { parameters => 'manage_search_targets' }, debug => 1, }); diff --git a/authorities/auth_finder.pl b/authorities/auth_finder.pl index 208f076a13..98d413bc58 100755 --- a/authorities/auth_finder.pl +++ b/authorities/auth_finder.pl @@ -46,7 +46,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( : 'authorities/auth_finder.tt', query => $query, type => 'intranet', - authnotrequired => 0, flagsrequired => { catalogue => 1 }, } ); diff --git a/authorities/authorities-home.pl b/authorities/authorities-home.pl index 76748aa66a..828ba24b7d 100755 --- a/authorities/authorities-home.pl +++ b/authorities/authorities-home.pl @@ -54,7 +54,6 @@ if ( $op eq "delete" ) { template_name => "authorities/authorities-home.tt", query => $query, type => 'intranet', - authnotrequired => 0, flagsrequired => { catalogue => 1 }, debug => 1, } @@ -105,7 +104,6 @@ if ( $op eq "do_search" ) { template_name => "authorities/searchresultlist.tt", query => $query, type => 'intranet', - authnotrequired => 0, flagsrequired => { catalogue => 1 }, debug => 1, } @@ -204,7 +202,6 @@ if ( $op eq '' ) { template_name => "authorities/authorities-home.tt", query => $query, type => 'intranet', - authnotrequired => 0, flagsrequired => { catalogue => 1 }, debug => 1, } diff --git a/authorities/authorities.pl b/authorities/authorities.pl index e422cafb36..b037583975 100755 --- a/authorities/authorities.pl +++ b/authorities/authorities.pl @@ -571,7 +571,6 @@ my ($template, $loggedinuser, $cookie) = get_template_and_user({template_name => "authorities/authorities.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => {editauthorities => 1}, debug => 1, }); diff --git a/authorities/blinddetail-biblio-search.pl b/authorities/blinddetail-biblio-search.pl index 993615dfdb..ed091a2c08 100755 --- a/authorities/blinddetail-biblio-search.pl +++ b/authorities/blinddetail-biblio-search.pl @@ -64,7 +64,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( template_name => "authorities/blinddetail-biblio-search.tt", query => $query, type => "intranet", - authnotrequired => 0, flagsrequired => { editcatalogue => 'edit_catalogue' }, } ); diff --git a/authorities/detail-biblio-search.pl b/authorities/detail-biblio-search.pl index 4936b176bf..5370ce19e4 100755 --- a/authorities/detail-biblio-search.pl +++ b/authorities/detail-biblio-search.pl @@ -67,7 +67,6 @@ my ($template, $loggedinuser, $cookie) = get_template_and_user( template_name => "authorities/detail-biblio-search.tt", query => $query, type => "intranet", - authnotrequired => 0, flagsrequired => { catalogue => 1 }, debug => 1, } diff --git a/authorities/detail.pl b/authorities/detail.pl index ca1654461d..dee6ae9422 100755 --- a/authorities/detail.pl +++ b/authorities/detail.pl @@ -174,7 +174,6 @@ my ($template, $loggedinuser, $cookie) = get_template_and_user( template_name => "authorities/detail.tt", query => $query, type => "intranet", - authnotrequired => 0, flagsrequired => { catalogue => 1 }, debug => 1, } diff --git a/authorities/export.pl b/authorities/export.pl index fbb675eec0..2d7430983a 100755 --- a/authorities/export.pl +++ b/authorities/export.pl @@ -13,7 +13,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( template_name => "tools/export.tt", query => $query, type => "intranet", - authnotrequired => 0, flagsrequired => { catalogue => 1 }, debug => 1, } diff --git a/authorities/merge.pl b/authorities/merge.pl index 37043bb5b5..250ff111cc 100755 --- a/authorities/merge.pl +++ b/authorities/merge.pl @@ -40,7 +40,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( template_name => "authorities/merge.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => { editauthorities => 1 }, } ); diff --git a/basket/downloadcart.pl b/basket/downloadcart.pl index 487e9c626a..6115f96707 100755 --- a/basket/downloadcart.pl +++ b/basket/downloadcart.pl @@ -39,7 +39,6 @@ my ( $template, $borrowernumber, $cookie ) = get_template_and_user ( template_name => "basket/downloadcart.tt", query => $query, type => "intranet", - authnotrequired => 0, flagsrequired => { catalogue => 1 }, } ); diff --git a/basket/sendbasket.pl b/basket/sendbasket.pl index 2076c425fa..52ca4797ea 100755 --- a/basket/sendbasket.pl +++ b/basket/sendbasket.pl @@ -39,7 +39,6 @@ my ( $template, $borrowernumber, $cookie ) = get_template_and_user ( template_name => "basket/sendbasketform.tt", query => $query, type => "intranet", - authnotrequired => 0, flagsrequired => { catalogue => 1 }, } ); diff --git a/catalogue/ISBDdetail.pl b/catalogue/ISBDdetail.pl index 9f333e1b33..2cd738c360 100755 --- a/catalogue/ISBDdetail.pl +++ b/catalogue/ISBDdetail.pl @@ -64,7 +64,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( template_name => "catalogue/ISBDdetail.tt", query => $query, type => "intranet", - authnotrequired => 0, flagsrequired => { catalogue => 1 }, } ); diff --git a/catalogue/MARCdetail.pl b/catalogue/MARCdetail.pl index 44bc8d0801..667c67f420 100755 --- a/catalogue/MARCdetail.pl +++ b/catalogue/MARCdetail.pl @@ -81,7 +81,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( template_name => "catalogue/MARCdetail.tt", query => $query, type => "intranet", - authnotrequired => 0, flagsrequired => { catalogue => 1 }, debug => 1, } diff --git a/catalogue/detail.pl b/catalogue/detail.pl index b0f25d9b03..037012d6fb 100755 --- a/catalogue/detail.pl +++ b/catalogue/detail.pl @@ -58,7 +58,6 @@ my ( $template, $borrowernumber, $cookie, $flags ) = get_template_and_user( template_name => 'catalogue/detail.tt', query => $query, type => "intranet", - authnotrequired => 0, flagsrequired => { catalogue => 1 }, } ); diff --git a/catalogue/export.pl b/catalogue/export.pl index ac8a202dad..80f3f156cf 100755 --- a/catalogue/export.pl +++ b/catalogue/export.pl @@ -15,7 +15,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user({ template_name => "tools/export.tt", query => $query, type => "intranet", - authnotrequired => 0, flagsrequired => { catalogue => 1 }, debug => 1, }); diff --git a/catalogue/imageviewer.pl b/catalogue/imageviewer.pl index 67ded03c46..47c2d0a1f3 100755 --- a/catalogue/imageviewer.pl +++ b/catalogue/imageviewer.pl @@ -37,7 +37,6 @@ my ( $template, $borrowernumber, $cookie ) = get_template_and_user( template_name => "catalogue/imageviewer.tt", query => $query, type => "intranet", - authnotrequired => 0, flagsrequired => { catalogue => 1 }, } ); diff --git a/catalogue/issuehistory.pl b/catalogue/issuehistory.pl index 0c50dcbb88..0630489a95 100755 --- a/catalogue/issuehistory.pl +++ b/catalogue/issuehistory.pl @@ -36,7 +36,6 @@ my ( $template, $borrowernumber, $cookie ) = get_template_and_user( template_name => "catalogue/issuehistory.tt", query => $query, type => "intranet", - authnotrequired => 0, flagsrequired => { catalogue => 1 }, } ); diff --git a/catalogue/itemsearch.pl b/catalogue/itemsearch.pl index 2c68bfe35f..48d4c775b4 100755 --- a/catalogue/itemsearch.pl +++ b/catalogue/itemsearch.pl @@ -93,7 +93,6 @@ my ($template, $borrowernumber, $cookie) = get_template_and_user({ template_name => $template_name, query => $cgi, type => 'intranet', - authnotrequired => 0, flagsrequired => { catalogue => 1 }, }); diff --git a/catalogue/labeledMARCdetail.pl b/catalogue/labeledMARCdetail.pl index 446a679fba..551065e15a 100755 --- a/catalogue/labeledMARCdetail.pl +++ b/catalogue/labeledMARCdetail.pl @@ -49,7 +49,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( template_name => "catalogue/labeledMARCdetail.tt", query => $query, type => "intranet", - authnotrequired => 0, flagsrequired => { catalogue => 1 }, debug => 1, } diff --git a/catalogue/moredetail.pl b/catalogue/moredetail.pl index aca129468a..c40bc33f1d 100755 --- a/catalogue/moredetail.pl +++ b/catalogue/moredetail.pl @@ -45,7 +45,6 @@ my ($template, $loggedinuser, $cookie) = get_template_and_user( template_name => 'catalogue/moredetail.tt', query => $query, type => "intranet", - authnotrequired => 0, flagsrequired => { catalogue => 1 }, } ); diff --git a/catalogue/search-history.pl b/catalogue/search-history.pl index f6714e11c6..6a920c6027 100755 --- a/catalogue/search-history.pl +++ b/catalogue/search-history.pl @@ -31,7 +31,6 @@ my ($template, $loggedinuser, $cookie) = get_template_and_user({ template_name => 'catalogue/search-history.tt', query => $cgi, type => "intranet", - authnotrequired => 0, flagsrequired => {catalogue => 1}, }); diff --git a/catalogue/search.pl b/catalogue/search.pl index 1fd012d8df..3d7e146ff4 100755 --- a/catalogue/search.pl +++ b/catalogue/search.pl @@ -182,7 +182,6 @@ my ($template, $borrowernumber, $cookie) = get_template_and_user({ template_name => $template_name, query => $cgi, type => "intranet", - authnotrequired => 0, flagsrequired => { catalogue => 1 }, } ); diff --git a/catalogue/showmarc.pl b/catalogue/showmarc.pl index e61801171e..d21683ee72 100755 --- a/catalogue/showmarc.pl +++ b/catalogue/showmarc.pl @@ -41,7 +41,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( template_name => "catalogue/showmarc.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => { catalogue => 1 }, debug => 1, } diff --git a/catalogue/stockrotation.pl b/catalogue/stockrotation.pl index ab57923202..d87149c90f 100755 --- a/catalogue/stockrotation.pl +++ b/catalogue/stockrotation.pl @@ -57,7 +57,6 @@ my ($template, $loggedinuser, $cookie) = get_template_and_user( template_name => 'catalogue/stockrotation.tt', query => $input, type => 'intranet', - authnotrequired => 0, flagsrequired => { catalogue => 1, stockrotation => 'manage_rota_items', diff --git a/cataloguing/addbiblio.pl b/cataloguing/addbiblio.pl index 7d48842c6a..a40aeaeda0 100755 --- a/cataloguing/addbiblio.pl +++ b/cataloguing/addbiblio.pl @@ -720,7 +720,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( template_name => "cataloguing/addbiblio.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => { editcatalogue => $userflags }, } ); diff --git a/cataloguing/addbooks.pl b/cataloguing/addbooks.pl index 9f6fec7f05..bd7961ffb3 100755 --- a/cataloguing/addbooks.pl +++ b/cataloguing/addbooks.pl @@ -56,7 +56,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( template_name => "cataloguing/addbooks.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => { editcatalogue => '*' }, debug => 1, } diff --git a/cataloguing/additem.pl b/cataloguing/additem.pl index 130ff0a3f2..aeaa7536bc 100755 --- a/cataloguing/additem.pl +++ b/cataloguing/additem.pl @@ -407,7 +407,6 @@ my ($template, $loggedinuser, $cookie) = get_template_and_user({template_name => "cataloguing/additem.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => {editcatalogue => $userflags}, debug => 1, }); diff --git a/cataloguing/editor.pl b/cataloguing/editor.pl index 7fb34cfe1e..454f319c6e 100755 --- a/cataloguing/editor.pl +++ b/cataloguing/editor.pl @@ -40,7 +40,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( template_name => 'cataloguing/editor.tt', query => $input, type => 'intranet', - authnotrequired => 0, flagsrequired => { editcatalogue => { 'edit_catalogue' => 1, diff --git a/cataloguing/linkitem.pl b/cataloguing/linkitem.pl index 4ea4727559..72e25e622e 100755 --- a/cataloguing/linkitem.pl +++ b/cataloguing/linkitem.pl @@ -40,7 +40,6 @@ my ($template, $loggedinuser, $cookie) = get_template_and_user( template_name => "cataloguing/linkitem.tt", query => $query, type => "intranet", - authnotrequired => 0, flagsrequired => { editcatalogue => 'edit_catalogue' }, debug => 1, } diff --git a/cataloguing/merge.pl b/cataloguing/merge.pl index 146e88e598..baf2b3057a 100755 --- a/cataloguing/merge.pl +++ b/cataloguing/merge.pl @@ -45,7 +45,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( template_name => "cataloguing/merge.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => { editcatalogue => 'edit_catalogue' }, } ); diff --git a/cataloguing/moveitem.pl b/cataloguing/moveitem.pl index 18474ac343..c5e6bca981 100755 --- a/cataloguing/moveitem.pl +++ b/cataloguing/moveitem.pl @@ -52,7 +52,6 @@ my ($template, $loggedinuser, $cookie) = get_template_and_user( template_name => "cataloguing/moveitem.tt", query => $query, type => "intranet", - authnotrequired => 0, flagsrequired => { editcatalogue => 'edit_items' }, debug => 1, } diff --git a/cataloguing/value_builder/EXAMPLE.pl b/cataloguing/value_builder/EXAMPLE.pl index d363e3f668..9b16b05eaf 100644 --- a/cataloguing/value_builder/EXAMPLE.pl +++ b/cataloguing/value_builder/EXAMPLE.pl @@ -116,7 +116,6 @@ my $launcher= sub { template_name => "cataloguing/value_builder/EXAMPLE.tt", query => $cgi, type => "intranet", - authnotrequired => 0, flagsrequired => {editcatalogue => '*'}, }); $template->param( diff --git a/cataloguing/value_builder/callnumber-KU.pl b/cataloguing/value_builder/callnumber-KU.pl index 5cbdd25905..7316afc617 100755 --- a/cataloguing/value_builder/callnumber-KU.pl +++ b/cataloguing/value_builder/callnumber-KU.pl @@ -70,7 +70,6 @@ my $launcher = sub { template_name => "cataloguing/value_builder/ajax.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => {editcatalogue => '*'}, debug => 1, }); diff --git a/cataloguing/value_builder/callnumber.pl b/cataloguing/value_builder/callnumber.pl index aeca228a20..05ef8f54ee 100755 --- a/cataloguing/value_builder/callnumber.pl +++ b/cataloguing/value_builder/callnumber.pl @@ -68,7 +68,6 @@ my $launcher = sub { template_name => "cataloguing/value_builder/ajax.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => {editcatalogue => '*'}, debug => 1, }); diff --git a/cataloguing/value_builder/cn_browser.pl b/cataloguing/value_builder/cn_browser.pl index bd036045aa..6e5f7b8c11 100755 --- a/cataloguing/value_builder/cn_browser.pl +++ b/cataloguing/value_builder/cn_browser.pl @@ -56,7 +56,6 @@ my $launcher = sub { { template_name => "cataloguing/value_builder/cn_browser.tt", query => $cgi, type => "intranet", - authnotrequired => 0, flagsrequired => { catalogue => 1 }, } ); diff --git a/cataloguing/value_builder/macles.pl b/cataloguing/value_builder/macles.pl index bed0c88f66..d50edfb2d4 100755 --- a/cataloguing/value_builder/macles.pl +++ b/cataloguing/value_builder/macles.pl @@ -162,7 +162,6 @@ my $launcher = sub { = get_template_and_user({template_name => "cataloguing/value_builder/macles.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => {editcatalogue => '*'}, debug => 1, }); diff --git a/cataloguing/value_builder/marc21_field_006.pl b/cataloguing/value_builder/marc21_field_006.pl index aeb5df1949..b8740b13c9 100755 --- a/cataloguing/value_builder/marc21_field_006.pl +++ b/cataloguing/value_builder/marc21_field_006.pl @@ -60,7 +60,6 @@ my $launcher = sub { { template_name => "cataloguing/value_builder/marc21_field_006.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => { editcatalogue => '*' }, debug => 1, } diff --git a/cataloguing/value_builder/marc21_field_007.pl b/cataloguing/value_builder/marc21_field_007.pl index a64f407e59..4aab5a8b15 100755 --- a/cataloguing/value_builder/marc21_field_007.pl +++ b/cataloguing/value_builder/marc21_field_007.pl @@ -59,7 +59,6 @@ my $launcher = sub { { template_name => "cataloguing/value_builder/marc21_field_007.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => { editcatalogue => '*' }, debug => 1, } diff --git a/cataloguing/value_builder/marc21_field_008.pl b/cataloguing/value_builder/marc21_field_008.pl index 4acbb6946f..b046042b38 100755 --- a/cataloguing/value_builder/marc21_field_008.pl +++ b/cataloguing/value_builder/marc21_field_008.pl @@ -139,7 +139,6 @@ my $launcher = sub { { template_name => "cataloguing/value_builder/marc21_field_008.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => { editcatalogue => '*' }, debug => 1, } diff --git a/cataloguing/value_builder/marc21_field_008_authorities.pl b/cataloguing/value_builder/marc21_field_008_authorities.pl index fe109a2498..1eb45d0070 100755 --- a/cataloguing/value_builder/marc21_field_008_authorities.pl +++ b/cataloguing/value_builder/marc21_field_008_authorities.pl @@ -81,7 +81,6 @@ my $launcher = sub { = get_template_and_user({template_name => "cataloguing/value_builder/marc21_field_008_authorities.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => {editcatalogue => '*'}, debug => 1, }); diff --git a/cataloguing/value_builder/marc21_field_008_classifications.pl b/cataloguing/value_builder/marc21_field_008_classifications.pl index f066c7ec21..8d6ccd05c6 100755 --- a/cataloguing/value_builder/marc21_field_008_classifications.pl +++ b/cataloguing/value_builder/marc21_field_008_classifications.pl @@ -70,7 +70,6 @@ my $launcher = sub { template_name => "cataloguing/value_builder/marc21_field_008_classifications.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => { editcatalogue => '*' }, debug => 1, }); diff --git a/cataloguing/value_builder/marc21_leader.pl b/cataloguing/value_builder/marc21_leader.pl index 755300a827..452f45176a 100755 --- a/cataloguing/value_builder/marc21_leader.pl +++ b/cataloguing/value_builder/marc21_leader.pl @@ -63,7 +63,6 @@ my $launcher = sub { { template_name => "cataloguing/value_builder/marc21_leader.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => { editcatalogue => '*' }, debug => 1, } diff --git a/cataloguing/value_builder/marc21_leader_authorities.pl b/cataloguing/value_builder/marc21_leader_authorities.pl index 1b7aa7e1cd..86e6b8e195 100755 --- a/cataloguing/value_builder/marc21_leader_authorities.pl +++ b/cataloguing/value_builder/marc21_leader_authorities.pl @@ -66,7 +66,6 @@ my $launcher = sub { { template_name => "cataloguing/value_builder/marc21_leader_authorities.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => { editcatalogue => '*' }, debug => 1, } diff --git a/cataloguing/value_builder/marc21_linking_section.pl b/cataloguing/value_builder/marc21_linking_section.pl index ccadc9cac6..18a24e3e95 100755 --- a/cataloguing/value_builder/marc21_linking_section.pl +++ b/cataloguing/value_builder/marc21_linking_section.pl @@ -78,7 +78,6 @@ my $launcher = sub { { template_name => "cataloguing/value_builder/marc21_linking_section.tt", query => $query, type => "intranet", - authnotrequired => 0, flagsrequired => { editcatalogue => '*' }, debug => 1, } @@ -192,7 +191,6 @@ my $launcher = sub { { template_name => "cataloguing/value_builder/marc21_linking_section.tt", query => $query, type => 'intranet', - authnotrequired => 0, debug => 1, } ); @@ -300,7 +298,6 @@ my $launcher = sub { { template_name => "cataloguing/value_builder/marc21_linking_section.tt", query => $query, type => "intranet", - authnotrequired => 0, } ); diff --git a/cataloguing/value_builder/normarc_field_007.pl b/cataloguing/value_builder/normarc_field_007.pl index 2931b4204e..87f2329aef 100755 --- a/cataloguing/value_builder/normarc_field_007.pl +++ b/cataloguing/value_builder/normarc_field_007.pl @@ -55,7 +55,6 @@ my ($template, $loggedinuser, $cookie) = get_template_and_user({template_name => "cataloguing/value_builder/normarc_field_007.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => {editcatalogue => 1}, debug => 1, }); diff --git a/cataloguing/value_builder/normarc_field_008.pl b/cataloguing/value_builder/normarc_field_008.pl index a156cd268e..1a5893f35d 100755 --- a/cataloguing/value_builder/normarc_field_008.pl +++ b/cataloguing/value_builder/normarc_field_008.pl @@ -79,7 +79,6 @@ sub plugin { { template_name => "cataloguing/value_builder/normarc_field_008.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => { editcatalogue => 1 }, debug => 1, } diff --git a/cataloguing/value_builder/normarc_leader.pl b/cataloguing/value_builder/normarc_leader.pl index 29a1a7aef2..debc3aa0bf 100755 --- a/cataloguing/value_builder/normarc_leader.pl +++ b/cataloguing/value_builder/normarc_leader.pl @@ -64,7 +64,6 @@ my ($template, $loggedinuser, $cookie) = get_template_and_user({template_name => "cataloguing/value_builder/normarc_leader.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => {editcatalogue => 1}, debug => 1, }); diff --git a/cataloguing/value_builder/stocknumberAV.pl b/cataloguing/value_builder/stocknumberAV.pl index f0e35d484b..0f75449677 100755 --- a/cataloguing/value_builder/stocknumberAV.pl +++ b/cataloguing/value_builder/stocknumberAV.pl @@ -78,7 +78,6 @@ my $launcher = sub { { template_name => "cataloguing/value_builder/ajax.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => { editcatalogue => '*' }, debug => 1, } diff --git a/cataloguing/value_builder/stocknumberam123.pl b/cataloguing/value_builder/stocknumberam123.pl index afed9e96ee..13872ba5f4 100755 --- a/cataloguing/value_builder/stocknumberam123.pl +++ b/cataloguing/value_builder/stocknumberam123.pl @@ -69,7 +69,6 @@ my $launcher = sub { template_name => "cataloguing/value_builder/ajax.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => {editcatalogue => '*'}, debug => 1, }); diff --git a/cataloguing/value_builder/unimarc_field_010.pl b/cataloguing/value_builder/unimarc_field_010.pl index 5c68b184cd..439af9bd2a 100755 --- a/cataloguing/value_builder/unimarc_field_010.pl +++ b/cataloguing/value_builder/unimarc_field_010.pl @@ -60,7 +60,6 @@ sub plugin { = get_template_and_user({template_name => "cataloguing/value_builder/ajax.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => {editcatalogue => '*'}, debug => 1, }); diff --git a/cataloguing/value_builder/unimarc_field_100.pl b/cataloguing/value_builder/unimarc_field_100.pl index efb6772de0..ea52b36971 100755 --- a/cataloguing/value_builder/unimarc_field_100.pl +++ b/cataloguing/value_builder/unimarc_field_100.pl @@ -65,7 +65,6 @@ sub plugin { template_name => "cataloguing/value_builder/unimarc_field_100.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => { editcatalogue => '*' }, debug => 1, } diff --git a/cataloguing/value_builder/unimarc_field_100_authorities.pl b/cataloguing/value_builder/unimarc_field_100_authorities.pl index ac5d506112..0f48c14a6e 100755 --- a/cataloguing/value_builder/unimarc_field_100_authorities.pl +++ b/cataloguing/value_builder/unimarc_field_100_authorities.pl @@ -62,7 +62,6 @@ sub plugin { template_name => "cataloguing/value_builder/unimarc_field_100_authorities.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => { editcatalogue => '*' }, debug => 1, } diff --git a/cataloguing/value_builder/unimarc_field_105.pl b/cataloguing/value_builder/unimarc_field_105.pl index 0afc26f2cc..9dca3d4b71 100755 --- a/cataloguing/value_builder/unimarc_field_105.pl +++ b/cataloguing/value_builder/unimarc_field_105.pl @@ -56,7 +56,6 @@ sub plugin { = get_template_and_user({template_name => "cataloguing/value_builder/unimarc_field_105.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => {editcatalogue => '*'}, debug => 1, }); diff --git a/cataloguing/value_builder/unimarc_field_106.pl b/cataloguing/value_builder/unimarc_field_106.pl index b7e9cc3396..f11a021a47 100755 --- a/cataloguing/value_builder/unimarc_field_106.pl +++ b/cataloguing/value_builder/unimarc_field_106.pl @@ -52,7 +52,6 @@ my ($template, $loggedinuser, $cookie) = get_template_and_user({template_name => "cataloguing/value_builder/unimarc_field_106.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => {editcatalogue => '*'}, debug => 1, }); diff --git a/cataloguing/value_builder/unimarc_field_110.pl b/cataloguing/value_builder/unimarc_field_110.pl index 547b4087bd..ddde049ff6 100755 --- a/cataloguing/value_builder/unimarc_field_110.pl +++ b/cataloguing/value_builder/unimarc_field_110.pl @@ -55,7 +55,6 @@ my ($template, $loggedinuser, $cookie) = get_template_and_user({template_name => "cataloguing/value_builder/unimarc_field_110.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => {editcatalogue => '*'}, debug => 1, }); diff --git a/cataloguing/value_builder/unimarc_field_115a.pl b/cataloguing/value_builder/unimarc_field_115a.pl index 46b0fd55e7..17ad4d32a5 100755 --- a/cataloguing/value_builder/unimarc_field_115a.pl +++ b/cataloguing/value_builder/unimarc_field_115a.pl @@ -62,7 +62,6 @@ sub plugin { "cataloguing/value_builder/unimarc_field_115a.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => { editcatalogue => '*' }, debug => 1, } diff --git a/cataloguing/value_builder/unimarc_field_115b.pl b/cataloguing/value_builder/unimarc_field_115b.pl index 582b42395b..685448decd 100755 --- a/cataloguing/value_builder/unimarc_field_115b.pl +++ b/cataloguing/value_builder/unimarc_field_115b.pl @@ -56,7 +56,6 @@ sub plugin { "cataloguing/value_builder/unimarc_field_115b.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => { editcatalogue => '*' }, debug => 1, } diff --git a/cataloguing/value_builder/unimarc_field_116.pl b/cataloguing/value_builder/unimarc_field_116.pl index fd3a982ab3..ef083f6aac 100755 --- a/cataloguing/value_builder/unimarc_field_116.pl +++ b/cataloguing/value_builder/unimarc_field_116.pl @@ -55,7 +55,6 @@ sub plugin { template_name => "cataloguing/value_builder/unimarc_field_116.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => { editcatalogue => '*' }, debug => 1, } diff --git a/cataloguing/value_builder/unimarc_field_117.pl b/cataloguing/value_builder/unimarc_field_117.pl index 831f4725aa..dcbeddfb31 100755 --- a/cataloguing/value_builder/unimarc_field_117.pl +++ b/cataloguing/value_builder/unimarc_field_117.pl @@ -54,7 +54,6 @@ my ($template, $loggedinuser, $cookie) = get_template_and_user({template_name => "cataloguing/value_builder/unimarc_field_117.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => {editcatalogue => '*'}, debug => 1, }); diff --git a/cataloguing/value_builder/unimarc_field_120.pl b/cataloguing/value_builder/unimarc_field_120.pl index 50abed84fe..6ee6d0aa19 100755 --- a/cataloguing/value_builder/unimarc_field_120.pl +++ b/cataloguing/value_builder/unimarc_field_120.pl @@ -58,7 +58,6 @@ my ($template, $loggedinuser, $cookie) = get_template_and_user({template_name => "cataloguing/value_builder/unimarc_field_120.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => {editcatalogue => '*'}, debug => 1, }); diff --git a/cataloguing/value_builder/unimarc_field_121a.pl b/cataloguing/value_builder/unimarc_field_121a.pl index f70b5085b6..1ef29eb2ca 100755 --- a/cataloguing/value_builder/unimarc_field_121a.pl +++ b/cataloguing/value_builder/unimarc_field_121a.pl @@ -57,7 +57,6 @@ my ($template, $loggedinuser, $cookie) = get_template_and_user({template_name => "cataloguing/value_builder/unimarc_field_121a.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => {editcatalogue => '*'}, debug => 1, }); diff --git a/cataloguing/value_builder/unimarc_field_121b.pl b/cataloguing/value_builder/unimarc_field_121b.pl index ffb61e9ea4..acf8dd143b 100755 --- a/cataloguing/value_builder/unimarc_field_121b.pl +++ b/cataloguing/value_builder/unimarc_field_121b.pl @@ -53,7 +53,6 @@ my ($template, $loggedinuser, $cookie) = get_template_and_user({template_name => "cataloguing/value_builder/unimarc_field_121b.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => {editcatalogue => '*'}, debug => 1, }); diff --git a/cataloguing/value_builder/unimarc_field_122.pl b/cataloguing/value_builder/unimarc_field_122.pl index c0b9187ce4..133411f7ae 100755 --- a/cataloguing/value_builder/unimarc_field_122.pl +++ b/cataloguing/value_builder/unimarc_field_122.pl @@ -53,7 +53,6 @@ my ($template, $loggedinuser, $cookie) = get_template_and_user({template_name => "cataloguing/value_builder/unimarc_field_122.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => {editcatalogue => '*'}, debug => 1, }); diff --git a/cataloguing/value_builder/unimarc_field_123a.pl b/cataloguing/value_builder/unimarc_field_123a.pl index 979ed894aa..1b4d82ae70 100755 --- a/cataloguing/value_builder/unimarc_field_123a.pl +++ b/cataloguing/value_builder/unimarc_field_123a.pl @@ -53,7 +53,6 @@ my ($template, $loggedinuser, $cookie) = get_template_and_user({template_name => "cataloguing/value_builder/unimarc_field_123a.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => {editcatalogue => '*'}, debug => 1, }); diff --git a/cataloguing/value_builder/unimarc_field_123d.pl b/cataloguing/value_builder/unimarc_field_123d.pl index 5863afb56e..2a23edcadf 100755 --- a/cataloguing/value_builder/unimarc_field_123d.pl +++ b/cataloguing/value_builder/unimarc_field_123d.pl @@ -54,7 +54,6 @@ my ($template, $loggedinuser, $cookie) = get_template_and_user({template_name => "cataloguing/value_builder/unimarc_field_123g.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => {editcatalogue => '*'}, debug => 1, }); diff --git a/cataloguing/value_builder/unimarc_field_123e.pl b/cataloguing/value_builder/unimarc_field_123e.pl index 5863afb56e..2a23edcadf 100755 --- a/cataloguing/value_builder/unimarc_field_123e.pl +++ b/cataloguing/value_builder/unimarc_field_123e.pl @@ -54,7 +54,6 @@ my ($template, $loggedinuser, $cookie) = get_template_and_user({template_name => "cataloguing/value_builder/unimarc_field_123g.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => {editcatalogue => '*'}, debug => 1, }); diff --git a/cataloguing/value_builder/unimarc_field_123f.pl b/cataloguing/value_builder/unimarc_field_123f.pl index e74a14641a..9446d977d1 100755 --- a/cataloguing/value_builder/unimarc_field_123f.pl +++ b/cataloguing/value_builder/unimarc_field_123f.pl @@ -55,7 +55,6 @@ my ($template, $loggedinuser, $cookie) = get_template_and_user({template_name => "cataloguing/value_builder/unimarc_field_123g.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => {editcatalogue => '*'}, debug => 1, }); diff --git a/cataloguing/value_builder/unimarc_field_123g.pl b/cataloguing/value_builder/unimarc_field_123g.pl index 5863afb56e..2a23edcadf 100755 --- a/cataloguing/value_builder/unimarc_field_123g.pl +++ b/cataloguing/value_builder/unimarc_field_123g.pl @@ -54,7 +54,6 @@ my ($template, $loggedinuser, $cookie) = get_template_and_user({template_name => "cataloguing/value_builder/unimarc_field_123g.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => {editcatalogue => '*'}, debug => 1, }); diff --git a/cataloguing/value_builder/unimarc_field_123i.pl b/cataloguing/value_builder/unimarc_field_123i.pl index ffe64bba0d..5e1203bbf1 100755 --- a/cataloguing/value_builder/unimarc_field_123i.pl +++ b/cataloguing/value_builder/unimarc_field_123i.pl @@ -54,7 +54,6 @@ my ($template, $loggedinuser, $cookie) = get_template_and_user({template_name => "cataloguing/value_builder/unimarc_field_123i_j.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => {editcatalogue => '*'}, debug => 1, }); diff --git a/cataloguing/value_builder/unimarc_field_123j.pl b/cataloguing/value_builder/unimarc_field_123j.pl index 695ee84ad0..cdbdcf2150 100755 --- a/cataloguing/value_builder/unimarc_field_123j.pl +++ b/cataloguing/value_builder/unimarc_field_123j.pl @@ -57,7 +57,6 @@ sub plugin { template_name => "cataloguing/value_builder/unimarc_field_123i_j.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => {editcatalogue => '*'}, debug => 1, } diff --git a/cataloguing/value_builder/unimarc_field_124.pl b/cataloguing/value_builder/unimarc_field_124.pl index 0a16dcde17..f5bfe46af2 100755 --- a/cataloguing/value_builder/unimarc_field_124.pl +++ b/cataloguing/value_builder/unimarc_field_124.pl @@ -54,7 +54,6 @@ my ($template, $loggedinuser, $cookie) = get_template_and_user({template_name => "cataloguing/value_builder/unimarc_field_100.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => {editcatalogue => '*'}, debug => 1, }); diff --git a/cataloguing/value_builder/unimarc_field_124a.pl b/cataloguing/value_builder/unimarc_field_124a.pl index fee1544fd6..43885a7f3a 100755 --- a/cataloguing/value_builder/unimarc_field_124a.pl +++ b/cataloguing/value_builder/unimarc_field_124a.pl @@ -55,7 +55,6 @@ my ($input) = @_; template_name => "cataloguing/value_builder/unimarc_field_124a.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => { editcatalogue => '*' }, debug => 1, } diff --git a/cataloguing/value_builder/unimarc_field_124b.pl b/cataloguing/value_builder/unimarc_field_124b.pl index f8744a1625..8512632dcd 100755 --- a/cataloguing/value_builder/unimarc_field_124b.pl +++ b/cataloguing/value_builder/unimarc_field_124b.pl @@ -54,7 +54,6 @@ my ($template, $loggedinuser, $cookie) = get_template_and_user({template_name => "cataloguing/value_builder/unimarc_field_124b.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => {editcatalogue => '*'}, debug => 1, }); diff --git a/cataloguing/value_builder/unimarc_field_124c.pl b/cataloguing/value_builder/unimarc_field_124c.pl index c6441b2232..f56f64c8b5 100755 --- a/cataloguing/value_builder/unimarc_field_124c.pl +++ b/cataloguing/value_builder/unimarc_field_124c.pl @@ -54,7 +54,6 @@ my ($template, $loggedinuser, $cookie) = get_template_and_user({template_name => "cataloguing/value_builder/unimarc_field_124c.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => {editcatalogue => '*'}, debug => 1, }); diff --git a/cataloguing/value_builder/unimarc_field_124d.pl b/cataloguing/value_builder/unimarc_field_124d.pl index 20d234129f..5f60644c18 100755 --- a/cataloguing/value_builder/unimarc_field_124d.pl +++ b/cataloguing/value_builder/unimarc_field_124d.pl @@ -54,7 +54,6 @@ my ($template, $loggedinuser, $cookie) = get_template_and_user({template_name => "cataloguing/value_builder/unimarc_field_124d.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => {editcatalogue => '*'}, debug => 1, }); diff --git a/cataloguing/value_builder/unimarc_field_124e.pl b/cataloguing/value_builder/unimarc_field_124e.pl index 5b72823559..51f7b68ca7 100755 --- a/cataloguing/value_builder/unimarc_field_124e.pl +++ b/cataloguing/value_builder/unimarc_field_124e.pl @@ -54,7 +54,6 @@ my ($template, $loggedinuser, $cookie) = get_template_and_user({template_name => "cataloguing/value_builder/unimarc_field_124e.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => {editcatalogue => '*'}, debug => 1, }); diff --git a/cataloguing/value_builder/unimarc_field_124f.pl b/cataloguing/value_builder/unimarc_field_124f.pl index 2e53479cb4..ff768c13a1 100755 --- a/cataloguing/value_builder/unimarc_field_124f.pl +++ b/cataloguing/value_builder/unimarc_field_124f.pl @@ -54,7 +54,6 @@ my ($template, $loggedinuser, $cookie) = get_template_and_user({template_name => "cataloguing/value_builder/unimarc_field_124f.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => {editcatalogue => '*'}, debug => 1, }); diff --git a/cataloguing/value_builder/unimarc_field_124g.pl b/cataloguing/value_builder/unimarc_field_124g.pl index e835212138..68fcfd0f78 100755 --- a/cataloguing/value_builder/unimarc_field_124g.pl +++ b/cataloguing/value_builder/unimarc_field_124g.pl @@ -54,7 +54,6 @@ my ($template, $loggedinuser, $cookie) = get_template_and_user({template_name => "cataloguing/value_builder/unimarc_field_124g.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => {editcatalogue => '*'}, debug => 1, }); diff --git a/cataloguing/value_builder/unimarc_field_125.pl b/cataloguing/value_builder/unimarc_field_125.pl index 7e9c744228..400a290f24 100755 --- a/cataloguing/value_builder/unimarc_field_125.pl +++ b/cataloguing/value_builder/unimarc_field_125.pl @@ -60,7 +60,6 @@ my ($template, $loggedinuser, $cookie) = get_template_and_user({template_name => "cataloguing/value_builder/unimarc_field_100.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => {editcatalogue => '*'}, debug => 1, }); diff --git a/cataloguing/value_builder/unimarc_field_125a.pl b/cataloguing/value_builder/unimarc_field_125a.pl index ec41917786..67ae25df5a 100755 --- a/cataloguing/value_builder/unimarc_field_125a.pl +++ b/cataloguing/value_builder/unimarc_field_125a.pl @@ -54,7 +54,6 @@ my ($template, $loggedinuser, $cookie) = get_template_and_user({template_name => "cataloguing/value_builder/unimarc_field_125a.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => {editcatalogue => '*'}, debug => 1, }); diff --git a/cataloguing/value_builder/unimarc_field_125b.pl b/cataloguing/value_builder/unimarc_field_125b.pl index 5035fc44ff..b8e36d9cc1 100755 --- a/cataloguing/value_builder/unimarc_field_125b.pl +++ b/cataloguing/value_builder/unimarc_field_125b.pl @@ -57,7 +57,6 @@ my ($template, $loggedinuser, $cookie) = get_template_and_user({template_name => "cataloguing/value_builder/unimarc_field_125b.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => {editcatalogue => '*'}, debug => 1, }); diff --git a/cataloguing/value_builder/unimarc_field_126.pl b/cataloguing/value_builder/unimarc_field_126.pl index 0a16dcde17..f5bfe46af2 100755 --- a/cataloguing/value_builder/unimarc_field_126.pl +++ b/cataloguing/value_builder/unimarc_field_126.pl @@ -54,7 +54,6 @@ my ($template, $loggedinuser, $cookie) = get_template_and_user({template_name => "cataloguing/value_builder/unimarc_field_100.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => {editcatalogue => '*'}, debug => 1, }); diff --git a/cataloguing/value_builder/unimarc_field_126a.pl b/cataloguing/value_builder/unimarc_field_126a.pl index f5bf8140b4..b0e737d910 100755 --- a/cataloguing/value_builder/unimarc_field_126a.pl +++ b/cataloguing/value_builder/unimarc_field_126a.pl @@ -57,7 +57,6 @@ my ($template, $loggedinuser, $cookie) = get_template_and_user({template_name => "cataloguing/value_builder/unimarc_field_126a.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => {editcatalogue => '*'}, debug => 1, }); diff --git a/cataloguing/value_builder/unimarc_field_126b.pl b/cataloguing/value_builder/unimarc_field_126b.pl index b9538c29b1..d9704624de 100755 --- a/cataloguing/value_builder/unimarc_field_126b.pl +++ b/cataloguing/value_builder/unimarc_field_126b.pl @@ -54,7 +54,6 @@ my ($template, $loggedinuser, $cookie) = get_template_and_user({template_name => "cataloguing/value_builder/unimarc_field_126b.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => {editcatalogue => '*'}, debug => 1, }); diff --git a/cataloguing/value_builder/unimarc_field_127.pl b/cataloguing/value_builder/unimarc_field_127.pl index f7e2f8aa08..53d740182f 100755 --- a/cataloguing/value_builder/unimarc_field_127.pl +++ b/cataloguing/value_builder/unimarc_field_127.pl @@ -54,7 +54,6 @@ my ($template, $loggedinuser, $cookie) = get_template_and_user({template_name => "cataloguing/value_builder/unimarc_field_127.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => {editcatalogue => '*'}, debug => 1, }); diff --git a/cataloguing/value_builder/unimarc_field_128a.pl b/cataloguing/value_builder/unimarc_field_128a.pl index c50e2724fd..85ab660505 100755 --- a/cataloguing/value_builder/unimarc_field_128a.pl +++ b/cataloguing/value_builder/unimarc_field_128a.pl @@ -54,7 +54,6 @@ my ($template, $loggedinuser, $cookie) = get_template_and_user({template_name => "cataloguing/value_builder/unimarc_field_128a.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => {editcatalogue => '*'}, debug => 1, }); diff --git a/cataloguing/value_builder/unimarc_field_128b.pl b/cataloguing/value_builder/unimarc_field_128b.pl index aaa6f44d6c..e32367f783 100755 --- a/cataloguing/value_builder/unimarc_field_128b.pl +++ b/cataloguing/value_builder/unimarc_field_128b.pl @@ -57,7 +57,6 @@ my ($template, $loggedinuser, $cookie) = get_template_and_user({template_name => "cataloguing/value_builder/unimarc_field_128b.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => {editcatalogue => '*'}, debug => 1, }); diff --git a/cataloguing/value_builder/unimarc_field_128c.pl b/cataloguing/value_builder/unimarc_field_128c.pl index 074bf6fb90..7be92ed030 100755 --- a/cataloguing/value_builder/unimarc_field_128c.pl +++ b/cataloguing/value_builder/unimarc_field_128c.pl @@ -54,7 +54,6 @@ my ($template, $loggedinuser, $cookie) = get_template_and_user({template_name => "cataloguing/value_builder/unimarc_field_128c.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => {editcatalogue => '*'}, debug => 1, }); diff --git a/cataloguing/value_builder/unimarc_field_130.pl b/cataloguing/value_builder/unimarc_field_130.pl index ab23ad8e83..04d0fb9590 100755 --- a/cataloguing/value_builder/unimarc_field_130.pl +++ b/cataloguing/value_builder/unimarc_field_130.pl @@ -58,7 +58,6 @@ my ($template, $loggedinuser, $cookie) = get_template_and_user({template_name => "cataloguing/value_builder/unimarc_field_130.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => {editcatalogue => '*'}, debug => 1, }); diff --git a/cataloguing/value_builder/unimarc_field_135a.pl b/cataloguing/value_builder/unimarc_field_135a.pl index c38cd90baa..7a41b59ae8 100755 --- a/cataloguing/value_builder/unimarc_field_135a.pl +++ b/cataloguing/value_builder/unimarc_field_135a.pl @@ -57,7 +57,6 @@ my ($template, $loggedinuser, $cookie) = get_template_and_user({template_name => "cataloguing/value_builder/unimarc_field_135a.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => {editcatalogue => '*'}, debug => 1, }); diff --git a/cataloguing/value_builder/unimarc_field_140.pl b/cataloguing/value_builder/unimarc_field_140.pl index bcdb24481e..980dc0914e 100755 --- a/cataloguing/value_builder/unimarc_field_140.pl +++ b/cataloguing/value_builder/unimarc_field_140.pl @@ -58,7 +58,6 @@ my ($template, $loggedinuser, $cookie) = get_template_and_user({template_name => "cataloguing/value_builder/unimarc_field_140.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => {editcatalogue => '*'}, debug => 1, }); diff --git a/cataloguing/value_builder/unimarc_field_141.pl b/cataloguing/value_builder/unimarc_field_141.pl index c0658adccf..c8f36ceb40 100755 --- a/cataloguing/value_builder/unimarc_field_141.pl +++ b/cataloguing/value_builder/unimarc_field_141.pl @@ -54,7 +54,6 @@ my ($template, $loggedinuser, $cookie) = get_template_and_user({template_name => "cataloguing/value_builder/unimarc_field_141.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => {editcatalogue => '*'}, debug => 1, }); diff --git a/cataloguing/value_builder/unimarc_field_210c.pl b/cataloguing/value_builder/unimarc_field_210c.pl index f6602a0e1b..b512a595ce 100755 --- a/cataloguing/value_builder/unimarc_field_210c.pl +++ b/cataloguing/value_builder/unimarc_field_210c.pl @@ -94,7 +94,6 @@ my ($input) = @_; = get_template_and_user({template_name => "cataloguing/value_builder/unimarc_field_210c.tt", query => $query, type => 'intranet', - authnotrequired => 0, flagsrequired => {editcatalogue => '*'}, debug => 1, }); @@ -125,7 +124,6 @@ my ($input) = @_; = get_template_and_user({template_name => "cataloguing/value_builder/unimarc_field_210c.tt", query => $query, type => 'intranet', - authnotrequired => 0, flagsrequired => {editcatalogue => '*'}, debug => 1, }); diff --git a/cataloguing/value_builder/unimarc_field_210c_bis.pl b/cataloguing/value_builder/unimarc_field_210c_bis.pl index e272ffd359..0c42e4dd11 100755 --- a/cataloguing/value_builder/unimarc_field_210c_bis.pl +++ b/cataloguing/value_builder/unimarc_field_210c_bis.pl @@ -74,7 +74,6 @@ sub plugin { { template_name => "cataloguing/value_builder/unimarc_field_210c_bis.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => { editcatalogue => '*' }, debug => 1, } diff --git a/cataloguing/value_builder/unimarc_field_225a.pl b/cataloguing/value_builder/unimarc_field_225a.pl index 0e0dca7dcd..b494f30e88 100755 --- a/cataloguing/value_builder/unimarc_field_225a.pl +++ b/cataloguing/value_builder/unimarc_field_225a.pl @@ -103,7 +103,6 @@ sub plugin { "cataloguing/value_builder/unimarc_field_225a.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => { editcatalogue => '*' }, debug => 1, } diff --git a/cataloguing/value_builder/unimarc_field_225a_bis.pl b/cataloguing/value_builder/unimarc_field_225a_bis.pl index 8bfa488d1b..b2a33bd4bd 100755 --- a/cataloguing/value_builder/unimarc_field_225a_bis.pl +++ b/cataloguing/value_builder/unimarc_field_225a_bis.pl @@ -52,7 +52,6 @@ sub plugin { template_name => "cataloguing/value_builder/unimarc_field_225a_bis.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => { editcatalogue => '*' }, debug => 1, }); diff --git a/cataloguing/value_builder/unimarc_field_4XX.pl b/cataloguing/value_builder/unimarc_field_4XX.pl index 259a903817..e15768780e 100755 --- a/cataloguing/value_builder/unimarc_field_4XX.pl +++ b/cataloguing/value_builder/unimarc_field_4XX.pl @@ -89,7 +89,6 @@ sub plugin { "cataloguing/value_builder/unimarc_field_4XX.tt", query => $query, type => "intranet", - authnotrequired => 0, flagsrequired => { editcatalogue => '*' }, debug => 1, } @@ -376,7 +375,6 @@ sub plugin { "cataloguing/value_builder/unimarc_field_4XX.tt", query => $query, type => 'intranet', - authnotrequired => 0, debug => 1, } ); @@ -505,7 +503,6 @@ sub plugin { "cataloguing/value_builder/unimarc_field_4XX.tt", query => $query, type => "intranet", - authnotrequired => 0, } ); diff --git a/cataloguing/value_builder/unimarc_field_686a.pl b/cataloguing/value_builder/unimarc_field_686a.pl index 5eb79159c6..eefdccf171 100755 --- a/cataloguing/value_builder/unimarc_field_686a.pl +++ b/cataloguing/value_builder/unimarc_field_686a.pl @@ -56,7 +56,6 @@ my ($input) = @_; template_name => "cataloguing/value_builder/unimarc_field_686a.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => { editcatalogue => '*' }, debug => 1, } diff --git a/cataloguing/value_builder/unimarc_field_700-4.pl b/cataloguing/value_builder/unimarc_field_700-4.pl index f86b49eb44..ea38515475 100755 --- a/cataloguing/value_builder/unimarc_field_700-4.pl +++ b/cataloguing/value_builder/unimarc_field_700-4.pl @@ -59,7 +59,6 @@ my ($input) = @_; template_name => "cataloguing/value_builder/unimarc_field_700-4.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => { editcatalogue => '*' }, debug => 1, } diff --git a/cataloguing/value_builder/unimarc_leader.pl b/cataloguing/value_builder/unimarc_leader.pl index 72fdf50c2b..222bf84d01 100755 --- a/cataloguing/value_builder/unimarc_leader.pl +++ b/cataloguing/value_builder/unimarc_leader.pl @@ -64,7 +64,6 @@ sub plugin { template_name => "cataloguing/value_builder/unimarc_leader.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => { editcatalogue => '*' }, debug => 1, } diff --git a/circ/add_message.pl b/circ/add_message.pl index 67a6844c43..e5d6d6687f 100755 --- a/circ/add_message.pl +++ b/circ/add_message.pl @@ -31,7 +31,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( { template_name => "circ/circulation.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => { borrowers => 'edit_borrowers' }, debug => 1, } diff --git a/circ/article-request-slip.pl b/circ/article-request-slip.pl index 4330214c25..7e42380681 100755 --- a/circ/article-request-slip.pl +++ b/circ/article-request-slip.pl @@ -37,7 +37,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( template_name => "circ/printslip.tt", query => $cgi, type => "intranet", - authnotrequired => 0, flagsrequired => { circulate => "circulate_remaining_permissions" }, } ); diff --git a/circ/article-requests.pl b/circ/article-requests.pl index d0c2805250..888918dfca 100755 --- a/circ/article-requests.pl +++ b/circ/article-requests.pl @@ -31,7 +31,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( template_name => "circ/article-requests.tt", query => $query, type => "intranet", - authnotrequired => 0, flagsrequired => { circulate => "circulate_remaining_permissions" }, } ); diff --git a/circ/bookcount.pl b/circ/bookcount.pl index 0d869464cc..a415fca23e 100755 --- a/circ/bookcount.pl +++ b/circ/bookcount.pl @@ -45,7 +45,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( template_name => "circ/bookcount.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => { circulate => "circulate_remaining_permissions" }, debug => 1, } diff --git a/circ/branchoverdues.pl b/circ/branchoverdues.pl index e696d77ed7..24c49cfddf 100755 --- a/circ/branchoverdues.pl +++ b/circ/branchoverdues.pl @@ -45,7 +45,6 @@ my ( $template, $loggedinuser, $cookie, $flags ) = get_template_and_user({ template_name => "circ/branchoverdues.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => { circulate => "circulate_remaining_permissions" }, debug => 1, }); diff --git a/circ/branchtransfers.pl b/circ/branchtransfers.pl index 8cd01d58bd..b0c6926a85 100755 --- a/circ/branchtransfers.pl +++ b/circ/branchtransfers.pl @@ -59,7 +59,6 @@ my ($template, $user, $cookie, $flags ) = get_template_and_user( template_name => "circ/branchtransfers.tt", query => $query, type => "intranet", - authnotrequired => 0, flagsrequired => { circulate => "circulate_remaining_permissions" }, } ); diff --git a/circ/checkout-notes.pl b/circ/checkout-notes.pl index 324d15e65b..dc891218ad 100755 --- a/circ/checkout-notes.pl +++ b/circ/checkout-notes.pl @@ -32,7 +32,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( template_name => "circ/checkout-notes.tt", query => $query, type => "intranet", - authnotrequired => 0, flagsrequired => { circulate => "manage_checkout_notes" }, } ); diff --git a/circ/circulation-home.pl b/circ/circulation-home.pl index 1d08a03f84..87be24610f 100755 --- a/circ/circulation-home.pl +++ b/circ/circulation-home.pl @@ -30,7 +30,6 @@ my ($template, $loggedinuser, $cookie, $flags) = get_template_and_user( template_name => "circ/circulation-home.tt", query => $query, type => "intranet", - authnotrequired => 0, flagsrequired => { circulate => "circulate_remaining_permissions" }, } ); diff --git a/circ/circulation.pl b/circ/circulation.pl index 5ec80c8f15..c20f7c6d95 100755 --- a/circ/circulation.pl +++ b/circ/circulation.pl @@ -130,7 +130,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user ( template_name => $template_name, query => $query, type => "intranet", - authnotrequired => 0, flagsrequired => { circulate => 'circulate_remaining_permissions' }, } ); diff --git a/circ/del_message.pl b/circ/del_message.pl index 8889431943..36c25c3f2e 100755 --- a/circ/del_message.pl +++ b/circ/del_message.pl @@ -31,7 +31,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( { template_name => "circ/circulation.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => { borrowers => 'edit_borrowers' }, debug => 1, } diff --git a/circ/hold-transfer-slip.pl b/circ/hold-transfer-slip.pl index a0cb0ef1ea..0cd57b1498 100755 --- a/circ/hold-transfer-slip.pl +++ b/circ/hold-transfer-slip.pl @@ -42,7 +42,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( template_name => "circ/printslip.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => { circulate => "circulate_remaining_permissions" }, debug => $debug, } diff --git a/circ/offline-mf.pl b/circ/offline-mf.pl index 43ad061226..c48aa23116 100755 --- a/circ/offline-mf.pl +++ b/circ/offline-mf.pl @@ -26,7 +26,6 @@ my ( $template, $loggedinuser, $cookie, $flags ) = get_template_and_user( template_name => "circ/offline-mf.tt", query => $query, type => "intranet", - authnotrequired => 0, flagsrequired => { circulate => "circulate_remaining_permissions" }, } ); diff --git a/circ/offline.pl b/circ/offline.pl index c1d8f6cbd3..d35ad23ea0 100755 --- a/circ/offline.pl +++ b/circ/offline.pl @@ -28,7 +28,6 @@ my ( $template, $loggedinuser, $cookie, $flags ) = get_template_and_user( template_name => "circ/offline.tt", query => $query, type => "intranet", - authnotrequired => 0, flagsrequired => { circulate => "circulate_remaining_permissions" }, } ); diff --git a/circ/on-site_checkouts.pl b/circ/on-site_checkouts.pl index 96cea5a66f..6118a56b69 100755 --- a/circ/on-site_checkouts.pl +++ b/circ/on-site_checkouts.pl @@ -31,7 +31,6 @@ my ( $template, $loggedinuser, $cookie, $flags ) = get_template_and_user( template_name => "circ/on-site_checkouts.tt", query => $cgi, type => "intranet", - authnotrequired => 0, flagsrequired => {circulate => "circulate_remaining_permissions"}, } ); diff --git a/circ/overdue.pl b/circ/overdue.pl index ac5fc1e70e..7ebbafb031 100755 --- a/circ/overdue.pl +++ b/circ/overdue.pl @@ -71,7 +71,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( template_name => "circ/overdue.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => { circulate => "overdues_report" }, debug => 1, } diff --git a/circ/pendingreserves.pl b/circ/pendingreserves.pl index ea78061fe2..d7b8c0a729 100755 --- a/circ/pendingreserves.pl +++ b/circ/pendingreserves.pl @@ -46,7 +46,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( template_name => "circ/pendingreserves.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => { circulate => "circulate_remaining_permissions" }, debug => 1, } diff --git a/circ/renew.pl b/circ/renew.pl index c3f1d2a4b3..06495778c4 100755 --- a/circ/renew.pl +++ b/circ/renew.pl @@ -36,7 +36,6 @@ my ( $template, $librarian, $cookie, $flags ) = get_template_and_user( template_name => "circ/renew.tt", query => $cgi, type => "intranet", - authnotrequired => 0, flagsrequired => { circulate => "circulate_remaining_permissions" }, } ); diff --git a/circ/request-article.pl b/circ/request-article.pl index 7c0877bff8..66d042b4e5 100755 --- a/circ/request-article.pl +++ b/circ/request-article.pl @@ -35,7 +35,6 @@ my ( $template, $borrowernumber, $cookie, $flags ) = get_template_and_user( template_name => "circ/request-article.tt", query => $cgi, type => "intranet", - authnotrequired => 0, flagsrequired => { circulate => 'circulate_remaining_permissions' }, } ); diff --git a/circ/reserveratios.pl b/circ/reserveratios.pl index 77117934d0..c673e869ed 100755 --- a/circ/reserveratios.pl +++ b/circ/reserveratios.pl @@ -44,7 +44,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( template_name => "circ/reserveratios.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => { circulate => "circulate_remaining_permissions" }, debug => 1, } diff --git a/circ/returns.pl b/circ/returns.pl index e1bce3c3f1..18c36dd724 100755 --- a/circ/returns.pl +++ b/circ/returns.pl @@ -65,7 +65,6 @@ my ( $template, $librarian, $cookie, $flags ) = get_template_and_user( template_name => "circ/returns.tt", query => $query, type => "intranet", - authnotrequired => 0, flagsrequired => { circulate => "circulate_remaining_permissions" }, } ); diff --git a/circ/set-library.pl b/circ/set-library.pl index 35b013ca33..063afae2b8 100755 --- a/circ/set-library.pl +++ b/circ/set-library.pl @@ -34,7 +34,6 @@ my ( $template, $borrowernumber, $cookie, $flags ) = get_template_and_user({ query => $query, type => "intranet", debug => 1, - authnotrequired => 0, flagsrequired => { catalogue => 1, }, }); diff --git a/circ/transfer-slip.pl b/circ/transfer-slip.pl index 8ffbeaae72..eb762535e2 100755 --- a/circ/transfer-slip.pl +++ b/circ/transfer-slip.pl @@ -45,7 +45,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( template_name => "circ/printslip.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => { circulate => "circulate_remaining_permissions" }, debug => $debug, } diff --git a/circ/transferstoreceive.pl b/circ/transferstoreceive.pl index b9123f6c01..37ae2a473c 100755 --- a/circ/transferstoreceive.pl +++ b/circ/transferstoreceive.pl @@ -49,7 +49,6 @@ my ( $template, $loggedinuser, $cookie, $flags ) = get_template_and_user( template_name => "circ/transferstoreceive.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => { circulate => "circulate_remaining_permissions" }, debug => 1, } diff --git a/circ/view_holdsqueue.pl b/circ/view_holdsqueue.pl index f7dbbc23c6..26c04fe78f 100755 --- a/circ/view_holdsqueue.pl +++ b/circ/view_holdsqueue.pl @@ -38,7 +38,6 @@ my ( $template, $loggedinuser, $cookie, $flags ) = get_template_and_user( template_name => "circ/view_holdsqueue.tt", query => $query, type => "intranet", - authnotrequired => 0, flagsrequired => { circulate => "circulate_remaining_permissions" }, debug => 1, } diff --git a/circ/waitingreserves.pl b/circ/waitingreserves.pl index abefc095e5..772477b62e 100755 --- a/circ/waitingreserves.pl +++ b/circ/waitingreserves.pl @@ -55,7 +55,6 @@ my ( $template, $loggedinuser, $cookie, $flags ) = get_template_and_user( template_name => "circ/waitingreserves.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => { circulate => "circulate_remaining_permissions" }, debug => 1, } diff --git a/clubs/club-enrollments.pl b/clubs/club-enrollments.pl index 01ef24d19f..87b8debfa0 100755 --- a/clubs/club-enrollments.pl +++ b/clubs/club-enrollments.pl @@ -32,7 +32,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( template_name => 'clubs/club-enrollments.tt', query => $cgi, type => 'intranet', - authnotrequired => 0, flagsrequired => { clubs => 'edit_clubs' }, } ); diff --git a/clubs/clubs-add-modify.pl b/clubs/clubs-add-modify.pl index dabac245fa..0337cf02bb 100755 --- a/clubs/clubs-add-modify.pl +++ b/clubs/clubs-add-modify.pl @@ -35,7 +35,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( template_name => 'clubs/clubs-add-modify.tt', query => $cgi, type => 'intranet', - authnotrequired => 0, flagsrequired => { clubs => 'edit_clubs' }, } ); diff --git a/clubs/clubs.pl b/clubs/clubs.pl index 4429e236a8..ca382ce414 100755 --- a/clubs/clubs.pl +++ b/clubs/clubs.pl @@ -34,7 +34,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( template_name => "clubs/clubs.tt", query => $cgi, type => "intranet", - authnotrequired => 0, flagsrequired => { clubs => '*' }, } ); diff --git a/clubs/patron-clubs-tab.pl b/clubs/patron-clubs-tab.pl index f50da65a5a..7a770bdfbb 100755 --- a/clubs/patron-clubs-tab.pl +++ b/clubs/patron-clubs-tab.pl @@ -34,7 +34,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( template_name => "clubs/patron-clubs-tab.tt", query => $cgi, type => "intranet", - authnotrequired => 0, flagsrequired => { clubs => '*' }, } ); diff --git a/clubs/patron-enroll.pl b/clubs/patron-enroll.pl index bc836277af..7dc5bed25a 100755 --- a/clubs/patron-enroll.pl +++ b/clubs/patron-enroll.pl @@ -32,7 +32,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( template_name => "clubs/patron-enroll.tt", query => $cgi, type => "intranet", - authnotrequired => 0, flagsrequired => { clubs => '*' }, } ); diff --git a/clubs/templates-add-modify.pl b/clubs/templates-add-modify.pl index 11f4606fb9..da4ef21ef7 100755 --- a/clubs/templates-add-modify.pl +++ b/clubs/templates-add-modify.pl @@ -39,7 +39,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( template_name => 'clubs/templates-add-modify.tt', query => $cgi, type => 'intranet', - authnotrequired => 0, flagsrequired => { clubs => 'edit_templates' }, } ); diff --git a/course_reserves/add_items.pl b/course_reserves/add_items.pl index 33763d8ee9..0a50be4385 100755 --- a/course_reserves/add_items.pl +++ b/course_reserves/add_items.pl @@ -56,7 +56,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( { template_name => "course_reserves/$tmpl", query => $cgi, type => "intranet", - authnotrequired => 0, flagsrequired => { coursereserves => 'add_reserves' }, } ); diff --git a/course_reserves/batch_add_items.pl b/course_reserves/batch_add_items.pl index e97991bfa7..c47b74f1e4 100755 --- a/course_reserves/batch_add_items.pl +++ b/course_reserves/batch_add_items.pl @@ -54,7 +54,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( template_name => "course_reserves/batch_add_items.tt", query => $cgi, type => "intranet", - authnotrequired => 0, flagsrequired => { coursereserves => 'add_reserves' }, } ); diff --git a/course_reserves/course-details.pl b/course_reserves/course-details.pl index af1eb62337..cd8e18aa78 100755 --- a/course_reserves/course-details.pl +++ b/course_reserves/course-details.pl @@ -41,7 +41,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( { template_name => "course_reserves/$tmpl", query => $cgi, type => "intranet", - authnotrequired => 0, flagsrequired => $flagsrequired, } ); diff --git a/course_reserves/course-reserves.pl b/course_reserves/course-reserves.pl index 0a07d4f419..d8052e0658 100755 --- a/course_reserves/course-reserves.pl +++ b/course_reserves/course-reserves.pl @@ -34,7 +34,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( template_name => "course_reserves/course-reserves.tt", query => $cgi, type => "intranet", - authnotrequired => 0, flagsrequired => { catalogue => 1 }, } ); diff --git a/course_reserves/course.pl b/course_reserves/course.pl index 5a87cdae94..d655bf1542 100755 --- a/course_reserves/course.pl +++ b/course_reserves/course.pl @@ -34,7 +34,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( { template_name => "course_reserves/course.tt", query => $cgi, type => "intranet", - authnotrequired => 0, flagsrequired => { coursereserves => 'manage_courses' }, } ); diff --git a/course_reserves/mod_course.pl b/course_reserves/mod_course.pl index cef6988e88..b7b2943239 100755 --- a/course_reserves/mod_course.pl +++ b/course_reserves/mod_course.pl @@ -32,7 +32,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( { template_name => "about.tt", query => $cgi, type => "intranet", - authnotrequired => 0, flagsrequired => { coursereserves => 'manage_courses' }, } ); diff --git a/installer/install.pl b/installer/install.pl index 041438160a..c1b1ce687b 100755 --- a/installer/install.pl +++ b/installer/install.pl @@ -49,7 +49,6 @@ if ( defined($language) ) { template_name => "installer/step" . ( $step ? $step : 1 ) . ".tt", query => $query, type => "intranet", - authnotrequired => 0, debug => 1, } ); diff --git a/installer/onboarding.pl b/installer/onboarding.pl index 7a76342311..3edd866e1a 100755 --- a/installer/onboarding.pl +++ b/installer/onboarding.pl @@ -316,7 +316,6 @@ my ( $template, $loggedinuser ); template_name => "onboarding/onboardingstep${step}.tt", query => $input, type => "intranet", - authnotrequired => 0, debug => 1, } ); diff --git a/labels/label-create-pdf.pl b/labels/label-create-pdf.pl index 97c01851b1..0fea1dfe88 100755 --- a/labels/label-create-pdf.pl +++ b/labels/label-create-pdf.pl @@ -32,7 +32,6 @@ my ( undef, $loggedinuser, $cookie ) = get_template_and_user({ template_name => "labels/label-home.tt", query => $cgi, type => "intranet", - authnotrequired => 0, flagsrequired => { tools => 'label_creator' }, debug => 1, }); diff --git a/labels/label-edit-batch.pl b/labels/label-edit-batch.pl index 83c74e9c25..7df5ff11ea 100755 --- a/labels/label-edit-batch.pl +++ b/labels/label-edit-batch.pl @@ -36,7 +36,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( template_name => "labels/label-edit-batch.tt", query => $cgi, type => "intranet", - authnotrequired => 0, flagsrequired => { catalogue => 1 }, debug => 1, } diff --git a/labels/label-edit-layout.pl b/labels/label-edit-layout.pl index e14135abb2..ac907f3bea 100755 --- a/labels/label-edit-layout.pl +++ b/labels/label-edit-layout.pl @@ -34,7 +34,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( template_name => "labels/label-edit-layout.tt", query => $cgi, type => "intranet", - authnotrequired => 0, flagsrequired => { catalogue => 1 }, debug => 1, } diff --git a/labels/label-edit-profile.pl b/labels/label-edit-profile.pl index 07e34caf1d..6a60c6c7f4 100755 --- a/labels/label-edit-profile.pl +++ b/labels/label-edit-profile.pl @@ -33,7 +33,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( template_name => "labels/label-edit-profile.tt", query => $cgi, type => "intranet", - authnotrequired => 0, flagsrequired => { catalogue => 1 }, debug => 1, } diff --git a/labels/label-edit-range.pl b/labels/label-edit-range.pl index ebd2fce6f5..daf8a43ffb 100755 --- a/labels/label-edit-range.pl +++ b/labels/label-edit-range.pl @@ -30,7 +30,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( template_name => "labels/label-edit-range.tt", query => $cgi, type => "intranet", - authnotrequired => 0, flagsrequired => { catalogue => 1 }, debug => 1, } diff --git a/labels/label-edit-template.pl b/labels/label-edit-template.pl index d4afc5eede..6beb0b4cc4 100755 --- a/labels/label-edit-template.pl +++ b/labels/label-edit-template.pl @@ -33,7 +33,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( template_name => "labels/label-edit-template.tt", query => $cgi, type => "intranet", - authnotrequired => 0, flagsrequired => { catalogue => 1 }, debug => 1, } diff --git a/labels/label-home.pl b/labels/label-home.pl index b5b361ca5c..245f22fa85 100755 --- a/labels/label-home.pl +++ b/labels/label-home.pl @@ -31,7 +31,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( template_name => "labels/label-home.tt", query => $cgi, type => "intranet", - authnotrequired => 0, flagsrequired => { catalogue => 1 }, debug => 1, } diff --git a/labels/label-item-search.pl b/labels/label-item-search.pl index fdade75a4e..36631946e3 100755 --- a/labels/label-item-search.pl +++ b/labels/label-item-search.pl @@ -146,7 +146,6 @@ if ($show_results) { template_name => "labels/result.tt", query => $query, type => "intranet", - authnotrequired => 0, flagsrequired => { borrowers => 'edit_borrowers' }, flagsrequired => { catalogue => 1 }, debug => 1, @@ -226,7 +225,6 @@ else { template_name => "labels/search.tt", query => $query, type => "intranet", - authnotrequired => 0, flagsrequired => { catalogue => 1 }, debug => 1, } diff --git a/labels/label-manage.pl b/labels/label-manage.pl index 762b6a25a9..eca571d6f0 100755 --- a/labels/label-manage.pl +++ b/labels/label-manage.pl @@ -36,7 +36,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( template_name => "labels/label-manage.tt", query => $cgi, type => "intranet", - authnotrequired => 0, flagsrequired => { catalogue => 1 }, debug => 1, } diff --git a/labels/label-print.pl b/labels/label-print.pl index 2ef72ed572..93b86790e0 100755 --- a/labels/label-print.pl +++ b/labels/label-print.pl @@ -34,7 +34,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( template_name => "labels/label-print.tt", query => $cgi, type => "intranet", - authnotrequired => 0, flagsrequired => { catalogue => 1 }, debug => 1, } diff --git a/labels/spinelabel-home.pl b/labels/spinelabel-home.pl index dcb9d12c88..defd2ef03e 100755 --- a/labels/spinelabel-home.pl +++ b/labels/spinelabel-home.pl @@ -28,7 +28,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( { template_name => "labels/spinelabel-home.tt", query => $query, type => "intranet", - authnotrequired => 0, flagsrequired => { catalogue => 1 }, debug => 1, } diff --git a/labels/spinelabel-print.pl b/labels/spinelabel-print.pl index d1e81ea14b..55c26bed37 100755 --- a/labels/spinelabel-print.pl +++ b/labels/spinelabel-print.pl @@ -26,7 +26,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( { template_name => "labels/spinelabel-print.tt", query => $query, type => "intranet", - authnotrequired => 0, flagsrequired => { catalogue => 1 }, debug => 1, } diff --git a/mainpage.pl b/mainpage.pl index ff234f6baa..61c35c8ae5 100755 --- a/mainpage.pl +++ b/mainpage.pl @@ -40,7 +40,6 @@ my ( $template, $loggedinuser, $cookie, $flags ) = get_template_and_user( template_name => "intranet-main.tt", query => $query, type => "intranet", - authnotrequired => 0, flagsrequired => { catalogue => 1, }, } ); diff --git a/members/accountline-details.pl b/members/accountline-details.pl index 1ac40a0210..5e0b82da3a 100755 --- a/members/accountline-details.pl +++ b/members/accountline-details.pl @@ -33,7 +33,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( template_name => "members/accountline-details.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => { borrowers => 'edit_borrowers', updatecharges => 'remaining_permissions' diff --git a/members/apikeys.pl b/members/apikeys.pl index ffbd40d329..619fc30b8a 100755 --- a/members/apikeys.pl +++ b/members/apikeys.pl @@ -34,7 +34,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( { template_name => 'members/apikeys.tt', query => $cgi, type => 'intranet', - authnotrequired => 0, flagsrequired => { borrowers => 'edit_borrowers' }, } ); diff --git a/members/boraccount.pl b/members/boraccount.pl index a1ca911724..71546a7efc 100755 --- a/members/boraccount.pl +++ b/members/boraccount.pl @@ -43,7 +43,6 @@ my ($template, $loggedinuser, $cookie) = get_template_and_user( template_name => "members/boraccount.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => { borrowers => 'edit_borrowers', updatecharges => 'remaining_permissions'}, debug => 1, diff --git a/members/deletemem.pl b/members/deletemem.pl index 8593a76885..389a79c4d5 100755 --- a/members/deletemem.pl +++ b/members/deletemem.pl @@ -39,7 +39,6 @@ my ($template, $loggedinuser, $cookie) = get_template_and_user({template_name => "members/deletemem.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => {borrowers => 'edit_borrowers'}, debug => 1, }); diff --git a/members/discharge.pl b/members/discharge.pl index f4a70236b4..46b12b02b3 100755 --- a/members/discharge.pl +++ b/members/discharge.pl @@ -47,7 +47,6 @@ my ( $template, $loggedinuser, $cookie, $flags ) = get_template_and_user({ template_name => 'members/discharge.tt', query => $input, type => 'intranet', - authnotrequired => 0, flagsrequired => { 'borrowers' => 'edit_borrowers' }, }); diff --git a/members/discharges.pl b/members/discharges.pl index de21e498fb..f7ce929cf6 100755 --- a/members/discharges.pl +++ b/members/discharges.pl @@ -32,7 +32,6 @@ my ( $template, $loggedinuser, $cookie, $flags ) = get_template_and_user({ template_name => "members/discharges.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => { borrowers => 'edit_borrowers' }, }); diff --git a/members/files.pl b/members/files.pl index e35f7e9627..18487ae022 100755 --- a/members/files.pl +++ b/members/files.pl @@ -38,7 +38,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( template_name => "members/files.tt", query => $cgi, type => "intranet", - authnotrequired => 0, flagsrequired => { borrowers => 'edit_borrowers' }, debug => 1, } diff --git a/members/guarantor_search.pl b/members/guarantor_search.pl index 0287047740..6b03a92565 100755 --- a/members/guarantor_search.pl +++ b/members/guarantor_search.pl @@ -34,7 +34,6 @@ my ( $template, $loggedinuser, $cookie, $staff_flags ) = get_template_and_user( { template_name => "common/patron_search.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => { borrowers => 'edit_borrowers' }, } ); diff --git a/members/holdshistory.pl b/members/holdshistory.pl index d0d96e0c27..2b2db160d2 100755 --- a/members/holdshistory.pl +++ b/members/holdshistory.pl @@ -33,7 +33,6 @@ my @all_holds; my ($template, $loggedinuser, $cookie)= get_template_and_user({template_name => "members/holdshistory.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => {borrowers => 'edit_borrowers'}, debug => 1, }); diff --git a/members/housebound.pl b/members/housebound.pl index 0584685f39..e3c06225b2 100755 --- a/members/housebound.pl +++ b/members/housebound.pl @@ -45,7 +45,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( template_name => 'members/housebound.tt', query => $input, type => 'intranet', - authnotrequired => 0, flagsrequired => { borrowers => 'edit_borrowers' }, } ); diff --git a/members/ill-requests.pl b/members/ill-requests.pl index 911fc3801b..e60f95f84f 100755 --- a/members/ill-requests.pl +++ b/members/ill-requests.pl @@ -31,7 +31,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( template_name => "members/ill-requests.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => { borrowers => 'edit_borrowers' }, debug => 1, } diff --git a/members/mancredit.pl b/members/mancredit.pl index 8ed7ffd72c..f0955d1436 100755 --- a/members/mancredit.pl +++ b/members/mancredit.pl @@ -44,7 +44,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( template_name => "members/mancredit.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => { borrowers => 'edit_borrowers', updatecharges => 'remaining_permissions' diff --git a/members/maninvoice.pl b/members/maninvoice.pl index c39a323cae..987f756c67 100755 --- a/members/maninvoice.pl +++ b/members/maninvoice.pl @@ -44,7 +44,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( template_name => "members/maninvoice.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => { borrowers => 'edit_borrowers', updatecharges => 'remaining_permissions' diff --git a/members/member-flags.pl b/members/member-flags.pl index 14bdd5ca63..75fb9f2ca8 100755 --- a/members/member-flags.pl +++ b/members/member-flags.pl @@ -38,7 +38,6 @@ my ($template, $loggedinuser, $cookie) = get_template_and_user({ template_name => "members/member-flags.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => $flagsrequired, debug => 1, }); diff --git a/members/member-password.pl b/members/member-password.pl index e9d5f54d9f..be83ab2269 100755 --- a/members/member-password.pl +++ b/members/member-password.pl @@ -32,7 +32,6 @@ my ( $template, $loggedinuser, $cookie, $staffflags ) = get_template_and_user( template_name => "members/member-password.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => { borrowers => 'edit_borrowers' }, debug => 1, } diff --git a/members/member.pl b/members/member.pl index 11cbc41a32..d31f43aac2 100755 --- a/members/member.pl +++ b/members/member.pl @@ -37,7 +37,6 @@ my ($template, $loggedinuser, $cookie) = get_template_and_user({template_name => "members/member.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => {borrowers => 'edit_borrowers'}, }); diff --git a/members/memberentry.pl b/members/memberentry.pl index 0bbb8422af..f08ffcbac9 100755 --- a/members/memberentry.pl +++ b/members/memberentry.pl @@ -65,7 +65,6 @@ my ($template, $loggedinuser, $cookie) = get_template_and_user({template_name => "members/memberentrygen.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => {borrowers => 'edit_borrowers'}, debug => ($debug) ? 1 : 0, }); diff --git a/members/members-home.pl b/members/members-home.pl index 73a370dc81..a5ad3e1657 100755 --- a/members/members-home.pl +++ b/members/members-home.pl @@ -34,7 +34,6 @@ my ($template, $loggedinuser, $cookie, $flags) = get_template_and_user({template_name => "members/member.tt", query => $query, type => "intranet", - authnotrequired => 0, flagsrequired => {borrowers => 'edit_borrowers'}, debug => 1, }); diff --git a/members/members-update-do.pl b/members/members-update-do.pl index 6f9b370a3e..fde62c7a0d 100755 --- a/members/members-update-do.pl +++ b/members/members-update-do.pl @@ -33,7 +33,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( template_name => "about.tt", query => $query, type => "intranet", - authnotrequired => 0, flagsrequired => { borrowers => 'edit_borrowers' }, debug => 1, } diff --git a/members/members-update.pl b/members/members-update.pl index 84019f4e20..650056c9c7 100755 --- a/members/members-update.pl +++ b/members/members-update.pl @@ -37,7 +37,6 @@ my ( $template, $loggedinuser, $cookie, $flags ) = get_template_and_user( { template_name => "members/members-update.tt", query => $query, type => "intranet", - authnotrequired => 0, flagsrequired => { borrowers => 'edit_borrowers' }, debug => 1, } diff --git a/members/merge-patrons.pl b/members/merge-patrons.pl index b4ea721a10..0d1d17afcb 100755 --- a/members/merge-patrons.pl +++ b/members/merge-patrons.pl @@ -33,7 +33,6 @@ my ( $template, $loggedinuser, $cookie, $flags ) = get_template_and_user( template_name => "members/merge-patrons.tt", query => $cgi, type => "intranet", - authnotrequired => 0, flagsrequired => { borrowers => 'edit_borrowers' }, } ); diff --git a/members/moremember.pl b/members/moremember.pl index 656ee35a93..b73605daef 100755 --- a/members/moremember.pl +++ b/members/moremember.pl @@ -68,7 +68,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( template_name => $template_name, query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => { borrowers => 'edit_borrowers' }, debug => 1, } diff --git a/members/notices.pl b/members/notices.pl index 1d4d2e9afa..ece7be8c3c 100755 --- a/members/notices.pl +++ b/members/notices.pl @@ -42,7 +42,6 @@ my $borrower = $patron->unblessed; my ($template, $loggedinuser, $cookie)= get_template_and_user({template_name => "members/notices.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => {borrowers => 'edit_borrowers'}, debug => 1, }); diff --git a/members/pay.pl b/members/pay.pl index d78debc7ee..eb16f04574 100755 --- a/members/pay.pl +++ b/members/pay.pl @@ -51,7 +51,6 @@ our ( $template, $loggedinuser, $cookie ) = get_template_and_user( { template_name => 'members/pay.tt', query => $input, type => 'intranet', - authnotrequired => 0, flagsrequired => { borrowers => 'edit_borrowers', updatecharges => $updatecharges_permissions }, debug => 1, } diff --git a/members/paycollect.pl b/members/paycollect.pl index c258560bc9..6b864f7767 100755 --- a/members/paycollect.pl +++ b/members/paycollect.pl @@ -48,7 +48,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( { template_name => 'members/paycollect.tt', query => $input, type => 'intranet', - authnotrequired => 0, flagsrequired => { borrowers => 'edit_borrowers', updatecharges => $updatecharges_permissions }, debug => 1, } diff --git a/members/print_overdues.pl b/members/print_overdues.pl index eb42beec08..a642f35e2b 100755 --- a/members/print_overdues.pl +++ b/members/print_overdues.pl @@ -37,7 +37,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( template_name => "circ/printslip.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => $flagsrequired, debug => 1, } diff --git a/members/printfeercpt.pl b/members/printfeercpt.pl index 5c56514a96..079b23e7e1 100755 --- a/members/printfeercpt.pl +++ b/members/printfeercpt.pl @@ -42,7 +42,6 @@ my ($template, $loggedinuser, $cookie) = get_template_and_user({template_name => "members/printfeercpt.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => {borrowers => 'edit_borrowers', updatecharges => 'remaining_permissions'}, debug => 1, }); diff --git a/members/printinvoice.pl b/members/printinvoice.pl index 38950e3647..f2ad628efd 100755 --- a/members/printinvoice.pl +++ b/members/printinvoice.pl @@ -39,7 +39,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( { template_name => "members/printinvoice.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => { borrowers => 'edit_borrowers', updatecharges => 'remaining_permissions' }, debug => 1, } diff --git a/members/printslip.pl b/members/printslip.pl index f27083e18d..e59c625f91 100755 --- a/members/printslip.pl +++ b/members/printslip.pl @@ -66,7 +66,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( template_name => "circ/printslip.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => $flagsrequired, debug => 1, } diff --git a/members/purchase-suggestions.pl b/members/purchase-suggestions.pl index 2efbeb788b..63c0aad855 100755 --- a/members/purchase-suggestions.pl +++ b/members/purchase-suggestions.pl @@ -33,7 +33,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( { template_name => "members/purchase-suggestions.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => { suggestions => 'suggestions_manage' }, debug => 1, } diff --git a/members/readingrec.pl b/members/readingrec.pl index eea8c0896b..d484e69bf8 100755 --- a/members/readingrec.pl +++ b/members/readingrec.pl @@ -38,7 +38,6 @@ my $input = CGI->new; my ($template, $loggedinuser, $cookie)= get_template_and_user({template_name => "members/readingrec.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => {borrowers => 'edit_borrowers'}, debug => 1, }); diff --git a/members/routing-lists.pl b/members/routing-lists.pl index 392b9e7f00..67f7a33b03 100755 --- a/members/routing-lists.pl +++ b/members/routing-lists.pl @@ -34,7 +34,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user ( template_name => 'members/routing-lists.tt', query => $query, type => "intranet", - authnotrequired => 0, flagsrequired => { circulate => 'circulate_remaining_permissions' }, } ); diff --git a/members/statistics.pl b/members/statistics.pl index 3bf9dd64b6..b6d5df66fa 100755 --- a/members/statistics.pl +++ b/members/statistics.pl @@ -39,7 +39,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( { template_name => "members/statistics.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => { borrowers => 'edit_borrowers' }, debug => 1, } diff --git a/members/summary-print.pl b/members/summary-print.pl index addb7fc9f0..c40159b796 100755 --- a/members/summary-print.pl +++ b/members/summary-print.pl @@ -38,7 +38,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( template_name => "members/moremember-print.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => { circulate => "circulate_remaining_permissions" }, debug => 1, } diff --git a/members/update-child.pl b/members/update-child.pl index 42cfe27d80..f138b1179f 100755 --- a/members/update-child.pl +++ b/members/update-child.pl @@ -45,7 +45,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( template_name => "members/update-child.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => { borrowers => 'edit_borrowers' }, debug => 1, } diff --git a/offline_circ/enqueue_koc.pl b/offline_circ/enqueue_koc.pl index 0f32352a7f..7ca5699f2e 100755 --- a/offline_circ/enqueue_koc.pl +++ b/offline_circ/enqueue_koc.pl @@ -49,7 +49,6 @@ my ($template, $loggedinuser, $cookie) = get_template_and_user({ template_name => "offline_circ/enqueue_koc.tt", query => $query, type => "intranet", - authnotrequired => 0, flagsrequired => { circulate => "circulate_remaining_permissions" }, }); diff --git a/offline_circ/list.pl b/offline_circ/list.pl index a58e94d06f..f5146444c4 100755 --- a/offline_circ/list.pl +++ b/offline_circ/list.pl @@ -38,7 +38,6 @@ my ($template, $loggedinuser, $cookie) = get_template_and_user({ template_name => "offline_circ/list.tt", query => $query, type => "intranet", - authnotrequired => 0, flagsrequired => { circulate => "circulate_remaining_permissions" }, }); diff --git a/offline_circ/process.pl b/offline_circ/process.pl index a8a59dd73f..39963e67ee 100755 --- a/offline_circ/process.pl +++ b/offline_circ/process.pl @@ -30,7 +30,6 @@ my ($template, $loggedinuser, $cookie) = get_template_and_user({ template_name => "offline_circ/list.tt", query => $query, type => "intranet", - authnotrequired => 0, flagsrequired => { circulate => "circulate_remaining_permissions" }, }); diff --git a/offline_circ/process_koc.pl b/offline_circ/process_koc.pl index 935440b55b..e483335f3d 100755 --- a/offline_circ/process_koc.pl +++ b/offline_circ/process_koc.pl @@ -52,7 +52,6 @@ my ($template, $loggedinuser, $cookie) = get_template_and_user({ template_name => "offline_circ/process_koc.tt", query => $query, type => "intranet", - authnotrequired => 0, flagsrequired => { circulate => "circulate_remaining_permissions" }, }); diff --git a/opac/clubs/clubs-tab.pl b/opac/clubs/clubs-tab.pl index 701d8cfb69..bb73d0ba07 100755 --- a/opac/clubs/clubs-tab.pl +++ b/opac/clubs/clubs-tab.pl @@ -32,7 +32,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( template_name => "clubs/clubs-tab.tt", query => $cgi, type => "opac", - authnotrequired => 0, } ); diff --git a/opac/clubs/enroll.pl b/opac/clubs/enroll.pl index 91b395ed6e..5d16a4a46c 100755 --- a/opac/clubs/enroll.pl +++ b/opac/clubs/enroll.pl @@ -32,7 +32,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( template_name => "clubs/enroll.tt", query => $cgi, type => "opac", - authnotrequired => 0, } ); diff --git a/opac/opac-account-pay-paypal-return.pl b/opac/opac-account-pay-paypal-return.pl index cbf51c3458..fd33e7217d 100755 --- a/opac/opac-account-pay-paypal-return.pl +++ b/opac/opac-account-pay-paypal-return.pl @@ -44,7 +44,6 @@ my ( $template, $borrowernumber, $cookie ) = get_template_and_user( template_name => "opac-account-pay-return.tt", query => $cgi, type => "opac", - authnotrequired => 0, debug => 1, } ); diff --git a/opac/opac-account-pay.pl b/opac/opac-account-pay.pl index bd6316ab31..e731280892 100755 --- a/opac/opac-account-pay.pl +++ b/opac/opac-account-pay.pl @@ -58,7 +58,6 @@ my ( $template, $borrowernumber, $cookie ) = get_template_and_user( template_name => "opac-account-pay-error.tt", query => $cgi, type => "opac", - authnotrequired => 0, debug => 1, } ); diff --git a/opac/opac-account.pl b/opac/opac-account.pl index c5a149dfff..15222de46b 100755 --- a/opac/opac-account.pl +++ b/opac/opac-account.pl @@ -34,7 +34,6 @@ my ( $template, $borrowernumber, $cookie ) = get_template_and_user( template_name => "opac-account.tt", query => $query, type => "opac", - authnotrequired => 0, debug => 1, } ); diff --git a/opac/opac-addbybiblionumber.pl b/opac/opac-addbybiblionumber.pl index 67b88f8064..16ec335180 100755 --- a/opac/opac-addbybiblionumber.pl +++ b/opac/opac-addbybiblionumber.pl @@ -52,7 +52,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( { template_name => "opac-addbybiblionumber.tt", query => $query, type => "opac", - authnotrequired => 0, } ); diff --git a/opac/opac-article-request-cancel.pl b/opac/opac-article-request-cancel.pl index ef9f75345d..2291249b2d 100755 --- a/opac/opac-article-request-cancel.pl +++ b/opac/opac-article-request-cancel.pl @@ -32,7 +32,6 @@ my ( $template, $borrowernumber, $cookie ) = get_template_and_user( template_name => "opac-account.tt", query => $query, type => "opac", - authnotrequired => 0, debug => 1, } ); diff --git a/opac/opac-ics.pl b/opac/opac-ics.pl index fb1ae4db68..94ea5fde91 100755 --- a/opac/opac-ics.pl +++ b/opac/opac-ics.pl @@ -41,7 +41,6 @@ my ( $template, $borrowernumber, $cookie ) = get_template_and_user( template_name => "opac-ics.tt", query => $query, type => "opac", - authnotrequired => 0, debug => 1, } ); diff --git a/opac/opac-illrequests.pl b/opac/opac-illrequests.pl index f81edf41ce..4fa3852444 100755 --- a/opac/opac-illrequests.pl +++ b/opac/opac-illrequests.pl @@ -49,7 +49,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user({ template_name => "opac-illrequests.tt", query => $query, type => "opac", - authnotrequired => 0, }); # Are we able to actually work? diff --git a/opac/opac-issue-note.pl b/opac/opac-issue-note.pl index 3e7f0a1111..f682e183fd 100755 --- a/opac/opac-issue-note.pl +++ b/opac/opac-issue-note.pl @@ -38,7 +38,6 @@ my ( $template, $borrowernumber, $cookie ) = get_template_and_user( template_name => "opac-issue-note.tt", query => $query, type => "opac", - authnotrequired => 0, debug => 1, } ); diff --git a/opac/opac-messaging.pl b/opac/opac-messaging.pl index 689ce94e09..bb44b4c65e 100755 --- a/opac/opac-messaging.pl +++ b/opac/opac-messaging.pl @@ -46,7 +46,6 @@ my ( $template, $borrowernumber, $cookie ) = get_template_and_user( template_name => 'opac-messaging.tt', query => $query, type => 'opac', - authnotrequired => 0, debug => 1, } ); diff --git a/opac/opac-modrequest-suspend.pl b/opac/opac-modrequest-suspend.pl index debeb30f6d..046b049f62 100755 --- a/opac/opac-modrequest-suspend.pl +++ b/opac/opac-modrequest-suspend.pl @@ -27,7 +27,6 @@ my ( $template, $borrowernumber, $cookie ) = get_template_and_user( template_name => "opac-account.tt", query => $query, type => "opac", - authnotrequired => 0, debug => 1, } ); diff --git a/opac/opac-modrequest.pl b/opac/opac-modrequest.pl index e86cd43b34..45fc6bc680 100755 --- a/opac/opac-modrequest.pl +++ b/opac/opac-modrequest.pl @@ -36,7 +36,6 @@ my ( $template, $borrowernumber, $cookie ) = get_template_and_user( template_name => "opac-account.tt", query => $query, type => "opac", - authnotrequired => 0, debug => 1, } ); diff --git a/opac/opac-mymessages.pl b/opac/opac-mymessages.pl index 31bbd0ccac..8991c4e998 100755 --- a/opac/opac-mymessages.pl +++ b/opac/opac-mymessages.pl @@ -34,7 +34,6 @@ my ( $template, $borrowernumber, $cookie ) = get_template_and_user( template_name => 'opac-mymessages.tt', query => $query, type => 'opac', - authnotrequired => 0, debug => 1, } ); diff --git a/opac/opac-passwd.pl b/opac/opac-passwd.pl index bff0214a9f..2e02d69f05 100755 --- a/opac/opac-passwd.pl +++ b/opac/opac-passwd.pl @@ -38,7 +38,6 @@ my ( $template, $borrowernumber, $cookie ) = get_template_and_user( template_name => "opac-passwd.tt", query => $query, type => "opac", - authnotrequired => 0, debug => 1, } ); diff --git a/opac/opac-patron-consent.pl b/opac/opac-patron-consent.pl index 789def3b0a..95c64496d4 100755 --- a/opac/opac-patron-consent.pl +++ b/opac/opac-patron-consent.pl @@ -36,7 +36,6 @@ my ( $template, $borrowernumber, $cookie ) = get_template_and_user({ template_name => "opac-patron-consent.tt", query => $query, type => "opac", - authnotrequired => 0, }); my $patron = Koha::Patrons->find($borrowernumber); diff --git a/opac/opac-privacy.pl b/opac/opac-privacy.pl index 7d7f445c39..0b2d414a30 100755 --- a/opac/opac-privacy.pl +++ b/opac/opac-privacy.pl @@ -39,7 +39,6 @@ my ( $template, $borrowernumber, $cookie ) = get_template_and_user( template_name => "opac-privacy.tt", query => $query, type => "opac", - authnotrequired => 0, debug => 1, } ); diff --git a/opac/opac-readingrecord.pl b/opac/opac-readingrecord.pl index c13faacaa3..5cd38b9141 100755 --- a/opac/opac-readingrecord.pl +++ b/opac/opac-readingrecord.pl @@ -49,7 +49,6 @@ my ( $template, $borrowernumber, $cookie ) = get_template_and_user( template_name => "opac-readingrecord.tt", query => $query, type => "opac", - authnotrequired => 0, debug => 1, } ); diff --git a/opac/opac-renew.pl b/opac/opac-renew.pl index cb9043d9ad..b1111d0e07 100755 --- a/opac/opac-renew.pl +++ b/opac/opac-renew.pl @@ -39,7 +39,6 @@ my ( $template, $borrowernumber, $cookie ) = get_template_and_user( template_name => "opac-user.tt", query => $query, type => "opac", - authnotrequired => 0, debug => 1, } ); diff --git a/opac/opac-request-article.pl b/opac/opac-request-article.pl index e6ea45cdd8..30947363f6 100755 --- a/opac/opac-request-article.pl +++ b/opac/opac-request-article.pl @@ -34,7 +34,6 @@ my ( $template, $borrowernumber, $cookie ) = get_template_and_user( template_name => "opac-request-article.tt", query => $cgi, type => "opac", - authnotrequired => 0, debug => 1, } ); diff --git a/opac/opac-reserve.pl b/opac/opac-reserve.pl index 2a11ad48e5..a930ddbf76 100755 --- a/opac/opac-reserve.pl +++ b/opac/opac-reserve.pl @@ -60,7 +60,6 @@ my ( $template, $borrowernumber, $cookie ) = get_template_and_user( template_name => "opac-reserve.tt", query => $query, type => "opac", - authnotrequired => 0, debug => 1, } ); diff --git a/opac/opac-routing-lists.pl b/opac/opac-routing-lists.pl index 8c806e905c..8e4771cce1 100755 --- a/opac/opac-routing-lists.pl +++ b/opac/opac-routing-lists.pl @@ -36,7 +36,6 @@ my ( $template, $borrowernumber, $cookie ) = get_template_and_user( template_name => "opac-routing-lists.tt", query => $query, type => "opac", - authnotrequired => 0, debug => 1, } ); diff --git a/opac/opac-sendbasket.pl b/opac/opac-sendbasket.pl index d5e6c7fdfd..ba0562db70 100755 --- a/opac/opac-sendbasket.pl +++ b/opac/opac-sendbasket.pl @@ -43,7 +43,6 @@ my ( $template, $borrowernumber, $cookie ) = get_template_and_user ( template_name => "opac-sendbasketform.tt", query => $query, type => "opac", - authnotrequired => 0, } ); diff --git a/opac/opac-sendshelf.pl b/opac/opac-sendshelf.pl index acbc27e6d2..9f0f5ca0ca 100755 --- a/opac/opac-sendshelf.pl +++ b/opac/opac-sendshelf.pl @@ -48,7 +48,6 @@ my ( $template, $borrowernumber, $cookie ) = get_template_and_user ( template_name => "opac-sendshelfform.tt", query => $query, type => "opac", - authnotrequired => 0, } ); diff --git a/opac/opac-suggestions.pl b/opac/opac-suggestions.pl index 74e3079dfe..22f6442c9b 100755 --- a/opac/opac-suggestions.pl +++ b/opac/opac-suggestions.pl @@ -75,7 +75,6 @@ else { template_name => "opac-suggestions.tt", query => $input, type => "opac", - authnotrequired => 0, } ); } diff --git a/opac/opac-user.pl b/opac/opac-user.pl index 6d967c8803..18c983fa35 100755 --- a/opac/opac-user.pl +++ b/opac/opac-user.pl @@ -66,7 +66,6 @@ my ( $template, $borrowernumber, $cookie ) = get_template_and_user( template_name => "opac-user.tt", query => $query, type => "opac", - authnotrequired => 0, debug => 1, } ); diff --git a/opac/sci/sci-main.pl b/opac/sci/sci-main.pl index 84d2a6cb67..0128873487 100755 --- a/opac/sci/sci-main.pl +++ b/opac/sci/sci-main.pl @@ -40,7 +40,6 @@ $cgi->param( -name => 'sci_user_login', -values => [1] ); my ( $template, $loggedinuser, $cookie ) = get_template_and_user( { template_name => "sci/sci-main.tt", - authnotrequired => 0, flagsrequired => { self_check => 'self_checkin_module' }, query => $cgi, type => "opac" diff --git a/opac/sco/sco-main.pl b/opac/sco/sco-main.pl index 83a37aca46..c55791fbfc 100755 --- a/opac/sco/sco-main.pl +++ b/opac/sco/sco-main.pl @@ -78,7 +78,6 @@ $query->param(-name=>'sco_user_login',-values=>[1]); my ( $template, $loggedinuser, $cookie ) = get_template_and_user( { template_name => "sco/sco-main.tt", - authnotrequired => 0, flagsrequired => { self_check => "self_checkout_module" }, query => $query, type => "opac", diff --git a/opac/svc/auth/googleopenidconnect b/opac/svc/auth/googleopenidconnect index 14568a0383..5a18c87a38 100755 --- a/opac/svc/auth/googleopenidconnect +++ b/opac/svc/auth/googleopenidconnect @@ -81,7 +81,6 @@ sub loginfailed { template_name => 'opac-user.tt', query => $cgi_query, type => 'opac', - authnotrequired => 0, } ); $template->param( 'invalidGoogleOpenIDConnectLogin' => $reason ); diff --git a/patron_lists/add-modify.pl b/patron_lists/add-modify.pl index 956d882448..b0b39ccfbd 100755 --- a/patron_lists/add-modify.pl +++ b/patron_lists/add-modify.pl @@ -32,7 +32,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( template_name => "patron_lists/add-modify.tt", query => $cgi, type => "intranet", - authnotrequired => 0, flagsrequired => { tools => 'manage_patron_lists' }, } ); diff --git a/patron_lists/delete.pl b/patron_lists/delete.pl index f9d1aef19c..7751fe80c2 100755 --- a/patron_lists/delete.pl +++ b/patron_lists/delete.pl @@ -32,7 +32,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( template_name => "patron_lists/lists.tt", query => $cgi, type => "intranet", - authnotrequired => 0, flagsrequired => { tools => 'manage_patron_lists' }, } ); diff --git a/patron_lists/list.pl b/patron_lists/list.pl index 71bfa3814a..90b580106e 100755 --- a/patron_lists/list.pl +++ b/patron_lists/list.pl @@ -33,7 +33,6 @@ my ( $template, $logged_in_user, $cookie ) = get_template_and_user( template_name => "patron_lists/list.tt", query => $cgi, type => "intranet", - authnotrequired => 0, flagsrequired => { tools => 'manage_patron_lists' }, } ); diff --git a/patron_lists/lists.pl b/patron_lists/lists.pl index a5cdf2b74c..cdb055a351 100755 --- a/patron_lists/lists.pl +++ b/patron_lists/lists.pl @@ -32,7 +32,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( template_name => "patron_lists/lists.tt", query => $cgi, type => "intranet", - authnotrequired => 0, flagsrequired => { tools => 'manage_patron_lists' }, } ); diff --git a/patron_lists/patrons.pl b/patron_lists/patrons.pl index 658f92de8f..2c10923ca8 100755 --- a/patron_lists/patrons.pl +++ b/patron_lists/patrons.pl @@ -32,7 +32,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( template_name => "patron_lists/add-modify.tt", query => $cgi, type => "intranet", - authnotrequired => 0, flagsrequired => { tools => 'manage_patron_lists' }, } ); diff --git a/patroncards/add_user_search.pl b/patroncards/add_user_search.pl index c8eca5fa74..9551ab03cf 100755 --- a/patroncards/add_user_search.pl +++ b/patroncards/add_user_search.pl @@ -34,7 +34,6 @@ my ( $template, $loggedinuser, $cookie, $staff_flags ) = get_template_and_user( { template_name => "common/patron_search.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => { catalogue => 1 }, } ); diff --git a/patroncards/create-pdf.pl b/patroncards/create-pdf.pl index c38ce43306..fc584a3daf 100755 --- a/patroncards/create-pdf.pl +++ b/patroncards/create-pdf.pl @@ -40,7 +40,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user({ template_name => "labels/label-home.tt", query => $cgi, type => "intranet", - authnotrequired => 0, flagsrequired => { tools => 'label_creator' }, debug => 1, }); diff --git a/patroncards/edit-batch.pl b/patroncards/edit-batch.pl index 236706e1bc..990642e9bf 100755 --- a/patroncards/edit-batch.pl +++ b/patroncards/edit-batch.pl @@ -37,7 +37,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( template_name => "patroncards/edit-batch.tt", query => $cgi, type => "intranet", - authnotrequired => 0, flagsrequired => { catalogue => 1 }, debug => 1, } diff --git a/patroncards/edit-layout.pl b/patroncards/edit-layout.pl index 3c7612992d..6ff61010df 100755 --- a/patroncards/edit-layout.pl +++ b/patroncards/edit-layout.pl @@ -36,7 +36,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( template_name => "patroncards/edit-layout.tt", query => $cgi, type => "intranet", - authnotrequired => 0, flagsrequired => { catalogue => 1 }, debug => 1, } diff --git a/patroncards/edit-profile.pl b/patroncards/edit-profile.pl index d84fb19b13..6f3782b1b6 100755 --- a/patroncards/edit-profile.pl +++ b/patroncards/edit-profile.pl @@ -33,7 +33,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( template_name => "patroncards/edit-profile.tt", query => $cgi, type => "intranet", - authnotrequired => 0, flagsrequired => { catalogue => 1 }, debug => 1, } diff --git a/patroncards/edit-template.pl b/patroncards/edit-template.pl index 3712a6fd82..8ac1e487b0 100755 --- a/patroncards/edit-template.pl +++ b/patroncards/edit-template.pl @@ -34,7 +34,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( template_name => "patroncards/edit-template.tt", query => $cgi, type => "intranet", - authnotrequired => 0, flagsrequired => { catalogue => 1 }, debug => 1, } diff --git a/patroncards/home.pl b/patroncards/home.pl index cb8e7a5b06..bd0c16c826 100755 --- a/patroncards/home.pl +++ b/patroncards/home.pl @@ -31,7 +31,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( template_name => "patroncards/home.tt", query => $cgi, type => "intranet", - authnotrequired => 0, flagsrequired => { catalogue => 1 }, debug => 1, } diff --git a/patroncards/image-manage.pl b/patroncards/image-manage.pl index 7504b76de2..e3e38b9db3 100755 --- a/patroncards/image-manage.pl +++ b/patroncards/image-manage.pl @@ -19,7 +19,6 @@ my ($template, $loggedinuser, $cookie) = get_template_and_user({ template_name => "patroncards/image-manage.tt", query => $cgi, type => "intranet", - authnotrequired => 0, flagsrequired => {tools => 'batch_upload_patron_images'}, # FIXME: establish flag for patron card creator debug => 0, }); diff --git a/patroncards/manage.pl b/patroncards/manage.pl index 42503fe196..1611e7950b 100755 --- a/patroncards/manage.pl +++ b/patroncards/manage.pl @@ -37,7 +37,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( template_name => "patroncards/manage.tt", query => $cgi, type => "intranet", - authnotrequired => 0, flagsrequired => { catalogue => 1 }, debug => 1, } diff --git a/patroncards/print.pl b/patroncards/print.pl index 4ade2c1995..758afff62d 100755 --- a/patroncards/print.pl +++ b/patroncards/print.pl @@ -33,7 +33,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( template_name => "patroncards/print.tt", query => $cgi, type => "intranet", - authnotrequired => 0, flagsrequired => { catalogue => 1 }, debug => 1, } diff --git a/plugins/plugins-home.pl b/plugins/plugins-home.pl index e3335ab4bd..5757811fce 100755 --- a/plugins/plugins-home.pl +++ b/plugins/plugins-home.pl @@ -40,7 +40,6 @@ my ( $template, $borrowernumber, $cookie ) = get_template_and_user( { template_name => ($plugins_enabled) ? "plugins/plugins-home.tt" : "plugins/plugins-disabled.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => { plugins => '*' }, debug => 1, } diff --git a/plugins/plugins-uninstall.pl b/plugins/plugins-uninstall.pl index 39334b26a5..0c0d56db25 100755 --- a/plugins/plugins-uninstall.pl +++ b/plugins/plugins-uninstall.pl @@ -37,7 +37,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( { template_name => "plugins/plugins-upload.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => { plugins => 'manage' }, debug => 1, } diff --git a/plugins/plugins-upload.pl b/plugins/plugins-upload.pl index 6ad52abccf..da538fc6dd 100755 --- a/plugins/plugins-upload.pl +++ b/plugins/plugins-upload.pl @@ -39,7 +39,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( { template_name => ($plugins_enabled) ? "plugins/plugins-upload.tt" : "plugins/plugins-disabled.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => { plugins => 'manage' }, debug => 1, } diff --git a/plugins/run.pl b/plugins/run.pl index 54bdf840b3..3aa3ab1cd1 100755 --- a/plugins/run.pl +++ b/plugins/run.pl @@ -38,7 +38,6 @@ my ( $template, $borrowernumber, $cookie ) = get_template_and_user( { template_name => "plugins/plugins-disabled.tt", query => $cgi, type => "intranet", - authnotrequired => 0, flagsrequired => { plugins => $method }, debug => 1, } diff --git a/pos/pay.pl b/pos/pay.pl index acee17d3c9..5cc4279992 100755 --- a/pos/pay.pl +++ b/pos/pay.pl @@ -25,7 +25,6 @@ my ( $template, $loggedinuser, $cookie, $user_flags ) = get_template_and_user( template_name => 'pos/pay.tt', query => $input, type => 'intranet', - authnotrequired => 0, flagsrequired => { cash_management => 'takepayment' }, } ); diff --git a/pos/printreceipt.pl b/pos/printreceipt.pl index ae5313695f..bb3861d04c 100755 --- a/pos/printreceipt.pl +++ b/pos/printreceipt.pl @@ -33,7 +33,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( template_name => "pos/printreceipt.tt", query => $input, type => "intranet", - authnotrequired => 0, } ); diff --git a/reports/acquisitions_stats.pl b/reports/acquisitions_stats.pl index eb56a05b31..d5de0a22f1 100755 --- a/reports/acquisitions_stats.pl +++ b/reports/acquisitions_stats.pl @@ -66,7 +66,6 @@ my ( $template, $borrowernumber, $cookie ) = get_template_and_user( template_name => $fullreportname, query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => { reports => '*' }, debug => 1, } diff --git a/reports/bor_issues_top.pl b/reports/bor_issues_top.pl index 63bdd6db1f..a41985b752 100755 --- a/reports/bor_issues_top.pl +++ b/reports/bor_issues_top.pl @@ -58,7 +58,6 @@ my ($template, $borrowernumber, $cookie) = get_template_and_user({template_name => $fullreportname, query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => {reports => '*'}, debug => 1, }); diff --git a/reports/borrowers_out.pl b/reports/borrowers_out.pl index 31ba73aa8b..357719c407 100755 --- a/reports/borrowers_out.pl +++ b/reports/borrowers_out.pl @@ -58,7 +58,6 @@ my ($template, $borrowernumber, $cookie) = get_template_and_user({template_name => $fullreportname, query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => {reports => '*'}, debug => 1, }); diff --git a/reports/borrowers_stats.pl b/reports/borrowers_stats.pl index 6a95f01b56..3eaba08964 100755 --- a/reports/borrowers_stats.pl +++ b/reports/borrowers_stats.pl @@ -71,7 +71,6 @@ my ($template, $borrowernumber, $cookie) = get_template_and_user({template_name => $fullreportname, query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => {reports => '*'}, debug => 1, }); diff --git a/reports/cash_register_stats.pl b/reports/cash_register_stats.pl index 98390ac52d..0e92d5c489 100755 --- a/reports/cash_register_stats.pl +++ b/reports/cash_register_stats.pl @@ -38,7 +38,6 @@ my ($template, $borrowernumber, $cookie) = get_template_and_user({ template_name => "reports/cash_register_stats.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => {reports => '*'}, debug => 1, }); diff --git a/reports/cat_issues_top.pl b/reports/cat_issues_top.pl index 604258e9c9..0792a28c6d 100755 --- a/reports/cat_issues_top.pl +++ b/reports/cat_issues_top.pl @@ -55,7 +55,6 @@ my ($template, $borrowernumber, $cookie) = get_template_and_user({template_name => $fullreportname, query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => { reports => '*'}, debug => 1, }); diff --git a/reports/catalogue_out.pl b/reports/catalogue_out.pl index 7713b14d1b..d85cebcc35 100755 --- a/reports/catalogue_out.pl +++ b/reports/catalogue_out.pl @@ -44,7 +44,6 @@ my ( $template, $borrowernumber, $cookie ) = get_template_and_user( template_name => "reports/catalogue_out.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => { reports => 'execute_reports' }, debug => 1, } diff --git a/reports/catalogue_stats.pl b/reports/catalogue_stats.pl index 536a76b266..15ccefd75f 100755 --- a/reports/catalogue_stats.pl +++ b/reports/catalogue_stats.pl @@ -70,7 +70,6 @@ my ($template, $borrowernumber, $cookie) = get_template_and_user({template_name => $fullreportname, query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => {reports => '*'}, debug => 1, }); diff --git a/reports/dictionary.pl b/reports/dictionary.pl index bca95ce0bd..2c89904494 100755 --- a/reports/dictionary.pl +++ b/reports/dictionary.pl @@ -44,7 +44,6 @@ my ( $template, $borrowernumber, $cookie ) = get_template_and_user( { template_name => "reports/dictionary.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => { reports => '*' }, debug => 1, } diff --git a/reports/guided_reports.pl b/reports/guided_reports.pl index f52a6df432..f455f4c1f0 100755 --- a/reports/guided_reports.pl +++ b/reports/guided_reports.pl @@ -74,7 +74,6 @@ my ( $template, $borrowernumber, $cookie ) = get_template_and_user( template_name => "reports/guided_reports_start.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => { reports => $flagsrequired }, debug => 1, } diff --git a/reports/issues_avg_stats.pl b/reports/issues_avg_stats.pl index baa4e69e1b..d700664074 100755 --- a/reports/issues_avg_stats.pl +++ b/reports/issues_avg_stats.pl @@ -66,7 +66,6 @@ my ($template, $borrowernumber, $cookie) = get_template_and_user({template_name => $fullreportname, query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => {reports => '*'}, debug => 1, }); diff --git a/reports/issues_stats.pl b/reports/issues_stats.pl index fac2b5883e..8f86fdb113 100755 --- a/reports/issues_stats.pl +++ b/reports/issues_stats.pl @@ -78,7 +78,6 @@ my ($template, $borrowernumber, $cookie) = get_template_and_user({ template_name => $fullreportname, query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => {reports => '*'}, debug => 0, }); diff --git a/reports/itemslost.pl b/reports/itemslost.pl index cd5fbe4b95..de1e798609 100755 --- a/reports/itemslost.pl +++ b/reports/itemslost.pl @@ -44,7 +44,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( template_name => "reports/itemslost.tt", query => $query, type => "intranet", - authnotrequired => 0, flagsrequired => { reports => '*' }, debug => 1, } diff --git a/reports/manager.pl b/reports/manager.pl index 2ff27e8283..82a9cb6c3c 100755 --- a/reports/manager.pl +++ b/reports/manager.pl @@ -34,7 +34,6 @@ my ($template, $borrowernumber, $cookie) = get_template_and_user({template_name => $fullreportname, query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => {reports => '*'}, debug => 1, }); diff --git a/reports/orders_by_fund.pl b/reports/orders_by_fund.pl index 4e797c2d25..7f50e9af38 100755 --- a/reports/orders_by_fund.pl +++ b/reports/orders_by_fund.pl @@ -43,7 +43,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( template_name => "reports/orders_by_budget.tt", query => $query, type => "intranet", - authnotrequired => 0, flagsrequired => { reports => '*' }, debug => 1, } diff --git a/reports/reports-home.pl b/reports/reports-home.pl index 6bcc996466..b8ba0aa853 100755 --- a/reports/reports-home.pl +++ b/reports/reports-home.pl @@ -30,7 +30,6 @@ my ($template, $loggedinuser, $cookie) = get_template_and_user({template_name => "reports/reports-home.tt", query => $query, type => "intranet", - authnotrequired => 0, flagsrequired => {reports => '*'}, debug => 1, }); diff --git a/reports/reserves_stats.pl b/reports/reserves_stats.pl index 1d22561b19..77d6eea72b 100755 --- a/reports/reserves_stats.pl +++ b/reports/reserves_stats.pl @@ -66,7 +66,6 @@ my ($template, $borrowernumber, $cookie) = get_template_and_user({ template_name => $fullreportname, query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => {reports => '*'}, debug => 0, }); diff --git a/reports/serials_stats.pl b/reports/serials_stats.pl index a27c404292..10c0a6e81c 100755 --- a/reports/serials_stats.pl +++ b/reports/serials_stats.pl @@ -50,7 +50,6 @@ my ($template, $borrowernumber, $cookie) = get_template_and_user({template_name => $templatename, query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => {reports => '*'}, debug => 1, }); diff --git a/reserve/modrequest.pl b/reserve/modrequest.pl index 6c134efe3a..3cc7fe6760 100755 --- a/reserve/modrequest.pl +++ b/reserve/modrequest.pl @@ -36,7 +36,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( template_name => "about.tt", query => $query, type => "intranet", - authnotrequired => 0, flagsrequired => { catalogue => 1 }, debug => 1, } diff --git a/reserve/modrequest_suspendall.pl b/reserve/modrequest_suspendall.pl index e53e06011e..ea303f3083 100755 --- a/reserve/modrequest_suspendall.pl +++ b/reserve/modrequest_suspendall.pl @@ -34,7 +34,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( template_name => "about.tt", query => $query, type => "intranet", - authnotrequired => 0, flagsrequired => { catalogue => 1 }, debug => 1, } diff --git a/reserve/request.pl b/reserve/request.pl index 26e40dd685..6ead370dc8 100755 --- a/reserve/request.pl +++ b/reserve/request.pl @@ -62,7 +62,6 @@ my ( $template, $borrowernumber, $cookie, $flags ) = get_template_and_user( template_name => "reserve/request.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => { reserveforothers => 'place_holds' }, } ); diff --git a/reviews/reviewswaiting.pl b/reviews/reviewswaiting.pl index 6dc51f1349..e115941366 100755 --- a/reviews/reviewswaiting.pl +++ b/reviews/reviewswaiting.pl @@ -32,7 +32,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( template_name => "reviews/reviewswaiting.tt", query => $query, type => "intranet", - authnotrequired => 0, flagsrequired => { tools => 'moderate_comments' }, debug => 1, } diff --git a/rotating_collections/addItems.pl b/rotating_collections/addItems.pl index 4c79328f3f..b52113a5dd 100755 --- a/rotating_collections/addItems.pl +++ b/rotating_collections/addItems.pl @@ -35,7 +35,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( template_name => "rotating_collections/addItems.tt", query => $query, type => "intranet", - authnotrequired => 0, flagsrequired => { tools => 'rotating_collections' }, debug => 1, } diff --git a/rotating_collections/editCollections.pl b/rotating_collections/editCollections.pl index c8ed8ed03b..4df8942508 100755 --- a/rotating_collections/editCollections.pl +++ b/rotating_collections/editCollections.pl @@ -33,7 +33,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( template_name => "rotating_collections/editCollections.tt", query => $query, type => "intranet", - authnotrequired => 0, flagsrequired => { tools => 'rotating_collections' }, debug => 1, } diff --git a/rotating_collections/rotatingCollections.pl b/rotating_collections/rotatingCollections.pl index acf4586568..941f778681 100755 --- a/rotating_collections/rotatingCollections.pl +++ b/rotating_collections/rotatingCollections.pl @@ -32,7 +32,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( template_name => "rotating_collections/rotatingCollections.tt", query => $query, type => "intranet", - authnotrequired => 0, flagsrequired => { tools => 'rotating_collections' }, debug => 1, } diff --git a/rotating_collections/transferCollection.pl b/rotating_collections/transferCollection.pl index 49b09b3113..bdee62a83e 100755 --- a/rotating_collections/transferCollection.pl +++ b/rotating_collections/transferCollection.pl @@ -35,7 +35,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( template_name => "rotating_collections/transferCollection.tt", query => $query, type => "intranet", - authnotrequired => 0, flagsrequired => { tools => 'rotating_collections' }, debug => 1, } diff --git a/serials/acqui-search-result.pl b/serials/acqui-search-result.pl index ede6c89a7b..1897f5fec8 100755 --- a/serials/acqui-search-result.pl +++ b/serials/acqui-search-result.pl @@ -55,7 +55,6 @@ my ($template, $loggedinuser, $cookie) = get_template_and_user({template_name => "serials/acqui-search-result.tt", query => $query, type => "intranet", - authnotrequired => 0, flagsrequired => {serials => '*'}, debug => 1, }); diff --git a/serials/acqui-search.pl b/serials/acqui-search.pl index bc25c69e58..95b02c23ac 100755 --- a/serials/acqui-search.pl +++ b/serials/acqui-search.pl @@ -30,7 +30,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( template_name => "serials/acqui-search.tt", query => $query, type => "intranet", - authnotrequired => 0, flagsrequired => { serials => '*' }, debug => 1, } diff --git a/serials/add_user_search.pl b/serials/add_user_search.pl index 6cb177acbe..6b77c9e0c1 100755 --- a/serials/add_user_search.pl +++ b/serials/add_user_search.pl @@ -34,7 +34,6 @@ my ( $template, $loggedinuser, $cookie, $staff_flags ) = get_template_and_user( { template_name => "common/patron_search.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => { serials => 'routing' }, } ); diff --git a/serials/checkexpiration.pl b/serials/checkexpiration.pl index ae88841444..4f0c1e8001 100755 --- a/serials/checkexpiration.pl +++ b/serials/checkexpiration.pl @@ -59,7 +59,6 @@ my ( $template, $loggedinuser, $cookie, $flags ) = get_template_and_user ( template_name => "serials/checkexpiration.tt", query => $query, type => "intranet", - authnotrequired => 0, flagsrequired => { serials => 'check_expiration' }, debug => 1, } diff --git a/serials/claims.pl b/serials/claims.pl index 2ed81b8745..4c6a2728a9 100755 --- a/serials/claims.pl +++ b/serials/claims.pl @@ -43,7 +43,6 @@ my ($template, $loggedinuser, $cookie) = get_template_and_user({template_name => 'serials/claims.tt', query => $input, type => 'intranet', - authnotrequired => 0, flagsrequired => {serials => 'claim_serials'}, debug => 1, }); diff --git a/serials/routing-preview.pl b/serials/routing-preview.pl index 2bf7eb3918..12f2ebc81b 100755 --- a/serials/routing-preview.pl +++ b/serials/routing-preview.pl @@ -112,7 +112,6 @@ if($ok){ = get_template_and_user({template_name => "serials/routing-preview-slip.tt", query => $query, type => "intranet", - authnotrequired => 0, flagsrequired => {serials => '*'}, debug => 1, }); @@ -121,7 +120,6 @@ if($ok){ = get_template_and_user({template_name => "serials/routing-preview.tt", query => $query, type => "intranet", - authnotrequired => 0, flagsrequired => {serials => '*'}, debug => 1, }); diff --git a/serials/routing.pl b/serials/routing.pl index 8d893f66de..49aa9c3e39 100755 --- a/serials/routing.pl +++ b/serials/routing.pl @@ -56,7 +56,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( template_name => 'serials/routing.tt', query => $query, type => 'intranet', - authnotrequired => 0, flagsrequired => { serials => 'routing' }, } ); diff --git a/serials/serials-collection.pl b/serials/serials-collection.pl index d4b266576c..c6b0f44901 100755 --- a/serials/serials-collection.pl +++ b/serials/serials-collection.pl @@ -44,7 +44,6 @@ my ($template, $loggedinuser, $cookie) = get_template_and_user({template_name => "serials/serials-collection.tt", query => $query, type => "intranet", - authnotrequired => 0, flagsrequired => {serials => '*'}, debug => 1, }); diff --git a/serials/serials-edit.pl b/serials/serials-edit.pl index 627779140f..afe9110b46 100755 --- a/serials/serials-edit.pl +++ b/serials/serials-edit.pl @@ -122,7 +122,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( template_name => 'serials/serials-edit.tt', query => $query, type => 'intranet', - authnotrequired => 0, flagsrequired => { serials => 'receive_serials' }, debug => 1, } diff --git a/serials/serials-home.pl b/serials/serials-home.pl index cf59cb8b7d..3fc15d03fb 100755 --- a/serials/serials-home.pl +++ b/serials/serials-home.pl @@ -43,7 +43,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( template_name => "serials/serials-home.tt", query => $query, type => "intranet", - authnotrequired => 0, flagsrequired => { serials => '*' }, debug => 1, } diff --git a/serials/serials-search.pl b/serials/serials-search.pl index fe9347eb03..456a6cd431 100755 --- a/serials/serials-search.pl +++ b/serials/serials-search.pl @@ -62,7 +62,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( template_name => "serials/serials-search.tt", query => $query, type => "intranet", - authnotrequired => 0, flagsrequired => { serials => '*' }, debug => 1, } diff --git a/serials/showpredictionpattern.pl b/serials/showpredictionpattern.pl index 4a3f7b2a64..78fbea98a5 100755 --- a/serials/showpredictionpattern.pl +++ b/serials/showpredictionpattern.pl @@ -43,7 +43,6 @@ my ($template, $loggedinuser, $cookie, $flags) = get_template_and_user( { template_name => 'serials/showpredictionpattern.tt', query => $input, type => 'intranet', - authnotrequired => 0, flagsrequired => { 'serials' => '*' }, } ); diff --git a/serials/subscription-add.pl b/serials/subscription-add.pl index f0cb7b53e1..fc8d6cca4a 100755 --- a/serials/subscription-add.pl +++ b/serials/subscription-add.pl @@ -56,7 +56,6 @@ our ($template, $loggedinuser, $cookie) = get_template_and_user({template_name => "serials/subscription-add.tt", query => $query, type => "intranet", - authnotrequired => 0, flagsrequired => {serials => $permission}, debug => 1, }); diff --git a/serials/subscription-batchedit.pl b/serials/subscription-batchedit.pl index fa114a18e2..fcc3aa43b0 100755 --- a/serials/subscription-batchedit.pl +++ b/serials/subscription-batchedit.pl @@ -35,7 +35,6 @@ my ($template, $loggedinuser, $cookie) = get_template_and_user({ template_name => 'serials/subscription-batchedit.tt', query => $cgi, type => 'intranet', - authnotrequired => 0, flagsrequired => {serials => 'edit_subscription'}, }); diff --git a/serials/subscription-bib-search.pl b/serials/subscription-bib-search.pl index 743fe512f6..20042cb7a6 100755 --- a/serials/subscription-bib-search.pl +++ b/serials/subscription-bib-search.pl @@ -83,7 +83,6 @@ if ( $op eq "do_search" && $query ) { template_name => "serials/result.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => { catalogue => 1, serials => '*' }, debug => 1, } @@ -192,7 +191,6 @@ else { template_name => "serials/subscription-bib-search.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => { catalogue => 1, serials => '*' }, debug => 1, } diff --git a/serials/subscription-detail.pl b/serials/subscription-detail.pl index b7137bdbc7..40e4cd9709 100755 --- a/serials/subscription-detail.pl +++ b/serials/subscription-detail.pl @@ -59,7 +59,6 @@ my ($template, $loggedinuser, $cookie) = get_template_and_user({template_name => "serials/subscription-detail.tt", query => $query, type => "intranet", - authnotrequired => 0, flagsrequired => {serials => $permission}, debug => 1, }); diff --git a/serials/subscription-frequencies.pl b/serials/subscription-frequencies.pl index f3c6d572d3..51f84a207f 100755 --- a/serials/subscription-frequencies.pl +++ b/serials/subscription-frequencies.pl @@ -41,7 +41,6 @@ my ($template, $loggedinuser, $cookie, $flags) = get_template_and_user( { template_name => 'serials/subscription-frequencies.tt', query => $input, type => 'intranet', - authnotrequired => 0, flagsrequired => { 'serials' => 1 }, debug => 1, } ); diff --git a/serials/subscription-history.pl b/serials/subscription-history.pl index 8934cf1c06..084468c564 100755 --- a/serials/subscription-history.pl +++ b/serials/subscription-history.pl @@ -43,7 +43,6 @@ my ($template, $loggedinuser, $cookie, $flags) = get_template_and_user( { template_name => 'serials/subscription-history.tt', query => $input, type => 'intranet', - authnotrequired => 0, flagsrequired => { 'serials' => 'edit_subscription' }, debug => 1, } ); diff --git a/serials/subscription-numberpatterns.pl b/serials/subscription-numberpatterns.pl index 2bcce3a077..673acbecca 100755 --- a/serials/subscription-numberpatterns.pl +++ b/serials/subscription-numberpatterns.pl @@ -40,7 +40,6 @@ my ($template, $loggedinuser, $cookie, $flags) = get_template_and_user( { template_name => 'serials/subscription-numberpatterns.tt', query => $input, type => 'intranet', - authnotrequired => 0, flagsrequired => { 'serials' => 1 } } ); diff --git a/serials/subscription-renew.pl b/serials/subscription-renew.pl index 1889f9a5b6..4589f97da4 100755 --- a/serials/subscription-renew.pl +++ b/serials/subscription-renew.pl @@ -72,7 +72,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( template_name => "serials/subscription-renew.tt", query => $query, type => "intranet", - authnotrequired => 0, flagsrequired => { serials => 'renew_subscription' }, debug => 1, } diff --git a/serials/viewalerts.pl b/serials/viewalerts.pl index 39539e1172..23a0a7d95c 100755 --- a/serials/viewalerts.pl +++ b/serials/viewalerts.pl @@ -32,7 +32,6 @@ my ($template, $loggedinuser, $cookie) = get_template_and_user({template_name => 'serials/viewalerts.tt', query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => {serials => '*'}, debug => 1, }); diff --git a/svc/convert_report b/svc/convert_report index eb2999011d..36c8b9948b 100755 --- a/svc/convert_report +++ b/svc/convert_report @@ -33,7 +33,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( template_name => "reports/convert_report.tt", query => $query, type => "intranet", - authnotrequired => 0, flagsrequired => { reports => 'execute_reports' }, } ); diff --git a/svc/letters/preview b/svc/letters/preview index 2d0c73faeb..11c3d1843a 100644 --- a/svc/letters/preview +++ b/svc/letters/preview @@ -35,7 +35,6 @@ my ( $template, $borrowernumber, $cookie ) = get_template_and_user( template_name => "tools/preview_letter.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => { tools => 'edit_notices' }, debug => 1, } diff --git a/svc/mana/search b/svc/mana/search index 836e6b2adb..16b8ab6fdf 100755 --- a/svc/mana/search +++ b/svc/mana/search @@ -49,7 +49,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( template_name => $templatename, query => $input, type => "intranet", - authnotrequired => 0, # flagsrequired => { serials => $permission }, flagsrequired => { serials => 'create_subscription' }, diff --git a/svc/members/search b/svc/members/search index 76c5749f22..06201ef4ae 100755 --- a/svc/members/search +++ b/svc/members/search @@ -35,7 +35,6 @@ my ($template, $user, $cookie) = get_template_and_user({ template_name => scalar $input->param('template_path'), query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => { borrowers => 'edit_borrowers' } }); diff --git a/svc/report b/svc/report index d16485d4c0..0ab8fb5dcb 100755 --- a/svc/report +++ b/svc/report @@ -45,7 +45,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( template_name => "intranet-main.tt", query => $query, type => "intranet", - authnotrequired => 0, flagsrequired => { catalogue => 1, }, } ); diff --git a/svc/virtualshelves/search b/svc/virtualshelves/search index 055bd34605..1bbbeba750 100755 --- a/svc/virtualshelves/search +++ b/svc/virtualshelves/search @@ -16,7 +16,6 @@ my ($template, $user, $cookie) = get_template_and_user({ template_name => scalar $input->param('template_path'), query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => { catalogue => 1 } }); diff --git a/t/db_dependent/Search/History.t b/t/db_dependent/Search/History.t index 2e3aa1fd1e..c1eaa383f2 100644 --- a/t/db_dependent/Search/History.t +++ b/t/db_dependent/Search/History.t @@ -441,7 +441,6 @@ my ( $template, $loggedinuser, $cookies ) = get_template_and_user( template_name => "opac-user.tt", query => $query, type => "opac", - authnotrequired => 0, debug => 1 } ); @@ -467,7 +466,6 @@ $result = $schema->resultset('SearchHistory')->search()->count; template_name => "opac-user.tt", query => $query, type => "opac", - authnotrequired => 0, debug => 1 } ); diff --git a/tags/list.pl b/tags/list.pl index 4bcc66e138..23a7d8e345 100755 --- a/tags/list.pl +++ b/tags/list.pl @@ -43,7 +43,6 @@ my ( $template, $borrowernumber, $cookie ) = get_template_and_user( query => $query, type => "intranet", debug => 1, - authnotrequired => 0, flagsrequired => $needed_flags, } ); diff --git a/tags/review.pl b/tags/review.pl index a91435c1f4..3acf28a9dc 100755 --- a/tags/review.pl +++ b/tags/review.pl @@ -83,7 +83,6 @@ my ($template, $borrowernumber, $cookie) = get_template_and_user( query => $input, type => "intranet", debug => 1, - authnotrequired => 0, flagsrequired => $needed_flags, } ); diff --git a/tools/access_files.pl b/tools/access_files.pl index 3ca89afad5..73a0ae47dc 100755 --- a/tools/access_files.pl +++ b/tools/access_files.pl @@ -52,7 +52,6 @@ my ($template, $borrowernumber, $cookie) = get_template_and_user({template_name => "tools/access_files.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => { tools => 'access_files' }, }); diff --git a/tools/automatic_item_modification_by_age.pl b/tools/automatic_item_modification_by_age.pl index 12a1c006e1..cd6a512e6f 100755 --- a/tools/automatic_item_modification_by_age.pl +++ b/tools/automatic_item_modification_by_age.pl @@ -51,7 +51,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( template_name => "tools/automatic_item_modification_by_age.tt", query => $cgi, type => "intranet", - authnotrequired => 0, flagsrequired => { tools => 'items_batchmod' }, } ); diff --git a/tools/batchMod.pl b/tools/batchMod.pl index fe40f84c7e..430bb0f8aa 100755 --- a/tools/batchMod.pl +++ b/tools/batchMod.pl @@ -74,7 +74,6 @@ my ($template, $loggedinuser, $cookie) = get_template_and_user({template_name => $template_name, query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => $template_flag, }); diff --git a/tools/batch_delete_records.pl b/tools/batch_delete_records.pl index 1dccbae99f..d07adf1432 100755 --- a/tools/batch_delete_records.pl +++ b/tools/batch_delete_records.pl @@ -41,7 +41,6 @@ my ($template, $loggedinuser, $cookie) = get_template_and_user({ template_name => 'tools/batch_delete_records.tt', query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => { tools => 'records_batchdel' }, }); diff --git a/tools/batch_record_modification.pl b/tools/batch_record_modification.pl index 0203b0bb69..e9e307b314 100755 --- a/tools/batch_record_modification.pl +++ b/tools/batch_record_modification.pl @@ -46,7 +46,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user({ template_name => 'tools/batch_record_modification.tt', query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => { tools => 'records_batchmod' }, }); diff --git a/tools/cleanborrowers.pl b/tools/cleanborrowers.pl index 3040b1d777..354c3159a9 100755 --- a/tools/cleanborrowers.pl +++ b/tools/cleanborrowers.pl @@ -79,7 +79,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( { template_name => "tools/cleanborrowers.tt", query => $cgi, type => "intranet", - authnotrequired => 0, flagsrequired => { tools => 'delete_anonymize_patrons', catalogue => 1 }, } ); diff --git a/tools/csv-profiles.pl b/tools/csv-profiles.pl index 284fdc17ce..27ee6a8cd6 100755 --- a/tools/csv-profiles.pl +++ b/tools/csv-profiles.pl @@ -53,7 +53,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( { template_name => "tools/csv-profiles.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => { tools => 'manage_csv_profiles' }, debug => 1, } diff --git a/tools/export.pl b/tools/export.pl index 5ef531ae90..5b252be05e 100755 --- a/tools/export.pl +++ b/tools/export.pl @@ -66,7 +66,6 @@ my ( $template, $loggedinuser, $cookie, $flags ) = get_template_and_user( template_name => "tools/export.tt", query => $query, type => "intranet", - authnotrequired => 0, flagsrequired => { tools => 'export_catalog' }, debug => 1, } diff --git a/tools/holidays.pl b/tools/holidays.pl index 207439befc..2a9f02dfb2 100755 --- a/tools/holidays.pl +++ b/tools/holidays.pl @@ -34,7 +34,6 @@ my ($template, $loggedinuser, $cookie) = get_template_and_user({template_name => "tools/holidays.tt", type => "intranet", query => $input, - authnotrequired => 0, flagsrequired => {tools => 'edit_calendar'}, debug => 1, }); diff --git a/tools/import_borrowers.pl b/tools/import_borrowers.pl index 1b5e44f1ea..b3ead07fc7 100755 --- a/tools/import_borrowers.pl +++ b/tools/import_borrowers.pl @@ -71,7 +71,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( template_name => "tools/import_borrowers.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => { tools => 'import_patrons' }, debug => 1, } diff --git a/tools/inventory.pl b/tools/inventory.pl index 13b7a538a5..88ec223323 100755 --- a/tools/inventory.pl +++ b/tools/inventory.pl @@ -62,7 +62,6 @@ my ( $template, $borrowernumber, $cookie ) = get_template_and_user( { template_name => "tools/inventory.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => { tools => 'inventory' }, debug => 1, } diff --git a/tools/koha-news.pl b/tools/koha-news.pl index b90a8c4521..8db653fe5d 100755 --- a/tools/koha-news.pl +++ b/tools/koha-news.pl @@ -59,7 +59,6 @@ my ( $template, $borrowernumber, $cookie ) = get_template_and_user( template_name => "tools/koha-news.tt", query => $cgi, type => "intranet", - authnotrequired => 0, flagsrequired => { tools => 'edit_news' }, debug => 1, } diff --git a/tools/letter.pl b/tools/letter.pl index a0e2d373e4..eb2cd98e63 100755 --- a/tools/letter.pl +++ b/tools/letter.pl @@ -76,7 +76,6 @@ our ( $template, $borrowernumber, $cookie, $staffflags ) = get_template_and_user template_name => 'tools/letter.tt', query => $input, type => 'intranet', - authnotrequired => 0, flagsrequired => { tools => 'edit_notices' }, debug => 1, } diff --git a/tools/manage-marc-import.pl b/tools/manage-marc-import.pl index 6f9405d281..04c62e267c 100755 --- a/tools/manage-marc-import.pl +++ b/tools/manage-marc-import.pl @@ -53,7 +53,6 @@ my ($template, $loggedinuser, $cookie) = get_template_and_user({template_name => "tools/manage-marc-import.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => {tools => 'manage_staged_marc'}, debug => 1, }); diff --git a/tools/marc_modification_templates.pl b/tools/marc_modification_templates.pl index f88f7d5de0..aa31611710 100755 --- a/tools/marc_modification_templates.pl +++ b/tools/marc_modification_templates.pl @@ -35,7 +35,6 @@ my ($template, $loggedinuser, $cookie) template_name => "tools/marc_modification_templates.tt", query => $cgi, type => "intranet", - authnotrequired => 0, flagsrequired => { tools => 'marc_modification_templates' }, debug => 1, }); diff --git a/tools/modborrowers.pl b/tools/modborrowers.pl index 589059f429..eed17ea6eb 100755 --- a/tools/modborrowers.pl +++ b/tools/modborrowers.pl @@ -45,7 +45,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( { template_name => "tools/modborrowers.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => { tools => "edit_patrons" }, } ); diff --git a/tools/overduerules.pl b/tools/overduerules.pl index ecfac84795..2ec829162f 100755 --- a/tools/overduerules.pl +++ b/tools/overduerules.pl @@ -62,7 +62,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( template_name => "tools/overduerules.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => { tools => 'edit_notice_status_triggers' }, debug => 1, } diff --git a/tools/picture-upload.pl b/tools/picture-upload.pl index c114a86a32..334ee3e1bd 100755 --- a/tools/picture-upload.pl +++ b/tools/picture-upload.pl @@ -47,7 +47,6 @@ my ($template, $loggedinuser, $cookie) = get_template_and_user({template_name => "tools/picture-upload.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => { tools => 'batch_upload_patron_images'}, debug => 0, }); diff --git a/tools/quotes-upload.pl b/tools/quotes-upload.pl index 833942217f..a065da0943 100755 --- a/tools/quotes-upload.pl +++ b/tools/quotes-upload.pl @@ -34,7 +34,6 @@ my ( $template, $borrowernumber, $cookie ) = get_template_and_user( template_name => "tools/quotes-upload.tt", query => $cgi, type => "intranet", - authnotrequired => 0, flagsrequired => { tools => 'edit_quotes' }, debug => 1, } diff --git a/tools/quotes.pl b/tools/quotes.pl index 4781d2965a..6ac4371542 100755 --- a/tools/quotes.pl +++ b/tools/quotes.pl @@ -34,7 +34,6 @@ my ( $template, $borrowernumber, $cookie ) = get_template_and_user( template_name => "tools/quotes.tt", query => $cgi, type => "intranet", - authnotrequired => 0, flagsrequired => { tools => 'edit_quotes' }, debug => 1, } diff --git a/tools/scheduler.pl b/tools/scheduler.pl index 3cf6b7e7fc..05778e21cc 100755 --- a/tools/scheduler.pl +++ b/tools/scheduler.pl @@ -49,7 +49,6 @@ my ( $template, $borrowernumber, $cookie ) = get_template_and_user( template_name => "tools/scheduler.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => { tools => 'schedule_tasks' }, debug => 1, } diff --git a/tools/showdiffmarc.pl b/tools/showdiffmarc.pl index cfd981163c..48f622aab5 100755 --- a/tools/showdiffmarc.pl +++ b/tools/showdiffmarc.pl @@ -55,7 +55,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( template_name => "tools/showdiffmarc.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => { tools => 'manage_staged_marc' }, debug => 1, } diff --git a/tools/stage-marc-import.pl b/tools/stage-marc-import.pl index 78424bbc6f..9684fabeee 100755 --- a/tools/stage-marc-import.pl +++ b/tools/stage-marc-import.pl @@ -66,7 +66,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( template_name => "tools/stage-marc-import.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => { tools => 'stage_marc_import' }, debug => 1, } diff --git a/tools/stockrotation.pl b/tools/stockrotation.pl index da23c83cc7..8317617a5a 100755 --- a/tools/stockrotation.pl +++ b/tools/stockrotation.pl @@ -55,7 +55,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( tools => '*', stockrotation => '*', }, - authnotrequired => 0 } ); diff --git a/tools/tools-home.pl b/tools/tools-home.pl index 99fde6391d..a0f7832f6a 100755 --- a/tools/tools-home.pl +++ b/tools/tools-home.pl @@ -29,7 +29,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( template_name => "tools/tools-home.tt", query => $query, type => "intranet", - authnotrequired => 0, flagsrequired => { tools => '*' }, debug => 1, } diff --git a/tools/upload-cover-image.pl b/tools/upload-cover-image.pl index 1d2922c112..b6614df6ff 100755 --- a/tools/upload-cover-image.pl +++ b/tools/upload-cover-image.pl @@ -59,7 +59,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( template_name => "tools/upload-images.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => { tools => 'upload_local_cover_images' }, debug => 0, } diff --git a/tools/upload.pl b/tools/upload.pl index afb7c516f9..61e8a22ee4 100755 --- a/tools/upload.pl +++ b/tools/upload.pl @@ -41,7 +41,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( { template_name => "tools/upload.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => { tools => 'upload_general_files' }, } ); diff --git a/tools/viewlog.pl b/tools/viewlog.pl index eb1a6900a4..9c2141eb2f 100755 --- a/tools/viewlog.pl +++ b/tools/viewlog.pl @@ -67,7 +67,6 @@ my ( $template, $borrowernumber, $cookie ) = get_template_and_user( template_name => "tools/viewlog.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => { tools => 'view_system_logs' }, debug => 1, } diff --git a/virtualshelves/addbybiblionumber.pl b/virtualshelves/addbybiblionumber.pl index a60c88fd53..8d43ab9439 100755 --- a/virtualshelves/addbybiblionumber.pl +++ b/virtualshelves/addbybiblionumber.pl @@ -87,7 +87,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( { template_name => "virtualshelves/addbybiblionumber.tt", query => $query, type => "intranet", - authnotrequired => 0, flagsrequired => { catalogue => 1 }, } ); diff --git a/virtualshelves/downloadshelf.pl b/virtualshelves/downloadshelf.pl index b8b37fb4a2..6d788d91f8 100755 --- a/virtualshelves/downloadshelf.pl +++ b/virtualshelves/downloadshelf.pl @@ -40,7 +40,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user ( template_name => "virtualshelves/downloadshelf.tt", query => $query, type => "intranet", - authnotrequired => 0, flagsrequired => { catalogue => 1 }, } ); diff --git a/virtualshelves/sendshelf.pl b/virtualshelves/sendshelf.pl index 0103df3e71..4ee9e46863 100755 --- a/virtualshelves/sendshelf.pl +++ b/virtualshelves/sendshelf.pl @@ -40,7 +40,6 @@ my ( $template, $borrowernumber, $cookie ) = get_template_and_user( template_name => "virtualshelves/sendshelfform.tt", query => $query, type => "intranet", - authnotrequired => 0, flagsrequired => { catalogue => 1 }, } ); @@ -64,7 +63,6 @@ if ($email) { template_name => "virtualshelves/sendshelf.tt", query => $query, type => "intranet", - authnotrequired => 0, flagsrequired => { catalogue => 1 }, } ); diff --git a/virtualshelves/shelves.pl b/virtualshelves/shelves.pl index aeb65c9496..e219e9a23a 100755 --- a/virtualshelves/shelves.pl +++ b/virtualshelves/shelves.pl @@ -43,7 +43,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( { template_name => "virtualshelves/shelves.tt", query => $query, type => "intranet", - authnotrequired => 0, flagsrequired => { catalogue => 1 }, } ); -- 2.39.5