]> git.koha-community.org Git - koha.git/commit
Bug 24812: (bug 24081 follow-up) Add permission description
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 5 Mar 2020 14:32:23 +0000 (14:32 +0000)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Wed, 11 Mar 2020 13:42:02 +0000 (13:42 +0000)
commitd28bf2de71edb2d895840619d0b70aadff43290a
treebf85a04fc2084b1afec11ca8f821d584bc0bc9b0
parent87f3e2d5e09ce4f0aeb20bb805732e1c050b9629
Bug 24812: (bug 24081 follow-up) Add permission description

Bug 24081 added a discount permission to the accounts system but during
subsequent rebases, the description of that new permission got lot.

This patch restores the description.

Test plan
0/ Check that a checkbox without a description appears in the 'Manage
patrons patrons fines and fees' section of the 'Set permissions' page.
1/ Apply the patch
2/ Reload the page and note that the checkbox now preceeds a suitable
description.
3/ Signoff.

Bonus points: Check the permission works as described and hides the
'Discount' action button for staff who do not have the permission
enabled.

Signed-off-by: Michal Denar <black23@gmail.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
koha-tmpl/intranet-tmpl/prog/en/includes/permissions.inc