]> git.koha-community.org Git - koha.git/commit
Bug 30335: (follow-up) Bind new permissions to pages and tabs
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Fri, 15 Jul 2022 16:05:51 +0000 (17:05 +0100)
committerTomas Cohen Arazi <tomascohen@theke.io>
Wed, 31 Aug 2022 11:41:01 +0000 (08:41 -0300)
commit2954fbc9cc945b79ce4944b12b724bb14c040434
tree1aa3904e380c5ddfcacf01c3f813cc7210de0cc1
parentaea63af24a491c516c5ff7dc273ba07987e3ebf0
Bug 30335: (follow-up) Bind new permissions to pages and tabs

This patch binds the new permissions added in the previous patch to the
tab display on the borrower account page.

Test plan
1) Apply the previous patch and run the database update
2) Configure a user without the new permissions
3) Confirm the 'Create manual invoice' and 'Create manual credit' tabs
   no longer appear under the 'Accounting' area when logged in as the
   above user.
4) Confirm that you cannot manually navigate to /members/mancredit.pl or
   /members/maninvoice.pl when logged in as the above user.
5) Confirm that users with the above permissions are still able to see
   the tabs and take actions on them.

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
koha-tmpl/intranet-tmpl/prog/en/modules/members/boraccount.tt
koha-tmpl/intranet-tmpl/prog/en/modules/members/mancredit.tt
koha-tmpl/intranet-tmpl/prog/en/modules/members/maninvoice.tt
koha-tmpl/intranet-tmpl/prog/en/modules/members/pay.tt
members/mancredit.pl
members/maninvoice.pl