Bug 8689 - disable login via Koha's $database account
Summary: disable login via Koha's $database account
Alias: None
Product: Koha
Classification: Unclassified
Component: Authentication (show other bugs)
Version: master
Hardware: All All
: P5 - low normal (vote)
Assignee: Galen Charlton
QA Contact:
Depends on:
Reported: 2012-08-26 02:57 UTC by Mason James
Modified: 2014-12-07 20:03 UTC (History)
4 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:

disable login to Koha, via the $database account (1.21 KB, patch)
2012-08-26 03:01 UTC, Mason James
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Mason James 2012-08-26 02:57:00 UTC
an example of the type of problem that this bug causes is discussed in 

ps: there is still one more patch needed here...

a patch to create a 'KohaAdmin' super-librarian account, in the Koha 'borrower' table
Comment 1 Mason James 2012-08-26 03:01:17 UTC
Created attachment 11835 [details] [review]
disable login to Koha, via the $database account
Comment 2 Katrin Fischer 2012-08-26 06:56:47 UTC
I think this is not so easy, because you also need a branch and a categorytype to create a patron in the borrowers table and those are different from library to library.
Comment 3 Magnus Enger 2012-10-02 12:54:13 UTC
What should the status be here? Needs signoff or Failed QA?
Comment 4 Katrin Fischer 2012-10-26 01:07:14 UTC
Existing patch is not enough, we need more to avoid using the database user. Switching back to ASSIGNED for now.
Comment 5 Paul Poulain 2012-11-02 12:26:16 UTC
I think the bug 9008 that make the mysql login very proeminent fixes this problem. Reopen if you disagree.