Bug 27061: Remove duplicate permission check in svc/mana/search
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 20 Nov 2020 08:04:30 +0000 (09:04 +0100)
committerFridolin Somers <fridolin.somers@biblibre.com>
Tue, 11 May 2021 10:09:40 +0000 (12:09 +0200)
commit3435d22040709509e4e88532881416b0acf13f76
treef85d9a79607da2e1fbdee9901138d4671b4053b0
parentdb2a7a4a6bb9aa74db0452cfc89fb4b922ffed48
Bug 27061: Remove duplicate permission check in svc/mana/search

There is a call to check_cookie_auth then another one to get_template_and_user

Test plan:
Use mana to create new report and new subscription.
Confirm that you need the necessary permissions to use it

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 915c5d13bea82d8ff76e2c76525aa70a1f22961e)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
svc/mana/search