[Koha-bugs] [Bug 14440] get_template_and_user can not have an empty template_name

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jun 24 11:06:23 CEST 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14440

Jonathan Druart <jonathan.druart at biblibre.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #40544|0                           |1
        is obsolete|                            |

--- Comment #8 from Jonathan Druart <jonathan.druart at biblibre.com> ---
Created attachment 40559
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=40559&action=edit
Bug 14440:  get_template_and_user can not have an empty template_name
(quote*_ajax.pl)

This patch uses check_api_auth instead of get_template_and_user.

Test plan:
Confirm that you are still able to access to the quote editor with the
edit_quotes permission.
Confirm that you are not if you don't have the permission.

wget your_url/cgi-bin/koha/tools/quotes/quotes_ajax.pl
should return "403 : Forbidden."

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list