]> git.koha-community.org Git - koha.git/commit
Bug 18403: Deal with the DB user
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 12 Apr 2017 12:56:22 +0000 (09:56 -0300)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 12 Feb 2018 18:41:42 +0000 (15:41 -0300)
commita037b80ee325e3828141ebc15533e8f3d159de5a
tree375db9de82a0ccf0038fdab852162d40a7fea5be
parent5c8365e4a748a6e3eadddccc44a196087d4da279
Bug 18403: Deal with the DB user

On first login, Koha explodes before the logged in user does not exist
in DB.
This patch deals with that by adding several checks when it's needed.

Test plan:
Use the DB user to create a superlibrarian user.
The DB user should no be allowed to do anything else.

Signed-off-by: Signed-off-by: Jon McGowan <jon.mcgowan@ptfs-europe.com>
Bug 18403: Fix patron creation

memberentry.pl can be called to create a new patron, in that case the
patron does not exist yet.

Signed-off-by: Signed-off-by: Jon McGowan <jon.mcgowan@ptfs-europe.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
C4/Auth.pm
Koha/ArticleRequests.pm
Koha/Libraries.pm
Koha/Patron/Discharge.pm
Koha/Patron/Modifications.pm
Koha/Patrons.pm
Koha/Reviews.pm
members/member-flags.pl
members/memberentry.pl
members/moremember.pl