[Koha-bugs] [Bug 38137] Refactor Auth to check the new Koha::AccessControl::Permissions and Koha::AccessControl::Roles objects