Bug 20861: Correct EDI permissions on EDI messsages
authorKatrin Fischer <katrin.fischer.83@web.de>
Sun, 3 Jun 2018 08:09:23 +0000 (10:09 +0200)
committerNick Clemens <nick@bywatersolutions.com>
Mon, 4 Jun 2018 17:40:36 +0000 (13:40 -0400)
commit4f0c8e3c88cb43f21f70e4d776442b489ee3f5dc
tree4a1668a3c05a20945fc31e922d9b34dea975e971
parent9b3f7a001163f8aa230cc6b0e91d48a5593fe56c
Bug 20861: Correct EDI permissions on EDI messsages

The permission for EDI is edi_manage, but 2 pages asked
for manage_edi, allowing users not to access those.

To test:
- Add edi_manage to your permissions
- Try to access the EDIFACT messages from the
  acq start page
- Verify it doesn't work
- Apply patch and try again
- You should be able to access the page now
- Try to access the other page directly (if you don't
  have EDI data):
  /cgi-bin/koha/acqui/edimsg.pl
- Verify you can access the page and don't get a
  permission error

Signed-off-by: Mark Tompsett <mtompset@hotmail.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
acqui/edifactmsgs.pl
acqui/edimsg.pl