]> git.koha-community.org Git - koha.git/commit
Bug 27345: Add missing global permissions for superlibrarian
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 5 Jan 2021 10:35:05 +0000 (11:35 +0100)
committerAndrew Fuerste-Henry <andrew@bywatersolutions.com>
Tue, 19 Jan 2021 21:46:27 +0000 (21:46 +0000)
commitc25f8c72bf2ca58cb74253eb20fd3cafa4ee74c0
treeecf836a7bdc7a52b4177aa915cfc7d169c7f1c0a
parentb9a3d143a8c18a1f4614e1b0537891cf4eff568a
Bug 27345: Add missing global permissions for superlibrarian

When a superlibrarian is logged in, C4::Auth::get_template_and_user pass the CAN_user_$flag to the template, but some are missing:
suggestions, lists, cash_management

So far they are not used in the template but it will avoid a developer to spend time on it if we fix it now.

Test plan:
Compare with installer/data/mysql/mandatory/userflags.sql
Note that we don't need selfcheck

Signed-off-by: David Cook <dcook@prosentient.com.au>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 8c9acd7f28f3204ffb13cf18894a47fcf3f17c85)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
(cherry picked from commit a1041bdd585a0ff1582b4ae27be3aaec9f68e3ef)

Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
C4/Auth.pm