]> 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)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 8 Jan 2021 14:21:51 +0000 (15:21 +0100)
commit8c9acd7f28f3204ffb13cf18894a47fcf3f17c85
tree6b59410d518c62714ea2dc78542b89b208832737
parente15446af125d0986cc3d9f122e91b21a5e21c6f6
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>
C4/Auth.pm