[Koha-bugs] [Bug 6516] koha-create makes assumptions about borrowernumber of staff user

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Aug 17 08:07:56 CEST 2011


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6516

Magnus Enger <magnus at enger.priv.no> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
         AssignedTo|robin at catalyst.net.nz       |magnus at enger.priv.no

--- Comment #2 from Magnus Enger <magnus at enger.priv.no> 2011-08-17 06:07:56 UTC ---
Created attachment 5040
  --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=5040
Proposed patch

This should make it possible to set the borrowernumber of the adminuser both in
configfiles (ADMINUSER) and on the commandline (--adminuser or -a). The default
is 1. 

To test the new default: 

- Create a database dump where the admin user has borrowernumber = 1
- Create an instance
- Check that you can log in with the generated password

- Create a database dump where the admin user has borrowernumber = 2
- Create an instance, setting ADMINUSER=2 in a configfile 
- Check that you can log in with the generated password
- Create another instance setting "-a 2" on the command line
- Check that you can log in with the generated password

-- 
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.


More information about the Koha-bugs mailing list