]> git.koha-community.org Git - koha.git/commit
Bug 25482: Wrong permissions specification for adv editor macros
authorTomas Cohen Arazi <tomascohen@theke.io>
Wed, 13 May 2020 22:07:17 +0000 (19:07 -0300)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Fri, 15 May 2020 11:47:08 +0000 (12:47 +0100)
commit810e761660d7424b097a6c6f1d1211513889fa09
treebb9d243d60d217f35ddb2d91caa4fe0f5270652a
parentf96a105e872fdfda5fa67753663b1d80fd2c4c5b
Bug 25482: Wrong permissions specification for adv editor macros

The current permissions are defined as a hash, with a duplicate key.
This is generally invalid, but Debian 9's Mojolicious::Plugin::OpenAPI
lets it go through, even though the results are, random?

This patch sets the required permissions right, and following the
haspermissions() syntax correctly.

Tests for searching macros are not passing. Still trying to figure.

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
api/v1/swagger/paths/advancededitormacros.json