]> 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)
committerFridolin Somers <fridolin.somers@biblibre.com>
Mon, 11 Jan 2021 12:49:56 +0000 (13:49 +0100)
commita1041bdd585a0ff1582b4ae27be3aaec9f68e3ef
tree3d1c215ddb001cfa5957559145202feaf9baf7c6
parent1ca4cbf0762e5c47d3efa5a0310cbbfa70add2d2
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>
C4/Auth.pm