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

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sat Jun 18 16:54:17 CEST 2011


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

             Bug #: 6516
           Summary: koha-create makes assumptions about borrowernumber of
                    staff user
    Classification: Unclassified
 Change sponsored?: ---
           Product: Koha
           Version: master
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Packaging
        AssignedTo: robin at catalyst.net.nz
        ReportedBy: magnus at enger.priv.no
         QAContact: koha-bugs at lists.koha-community.org


In debian/scripts/koha-create a random password is set for a staff user, but
this staff user is hardcoded to have borrowernumber = 3:

        mysql --host="$mysqlhost" --user="$mysqluser" \
--password="$mysqlpwd" <<eof
USE \`$mysqldb\`;
UPDATE borrowers 
SET password = '$staffdigest' 
WHERE borrowernumber = 3;
eof

For me it would make sense to have one pre-defined staff user in the DEFAULTSQL
file, with borrowernumber = 1. Maybe the borrowernumber of the staff user could
be set in /etc/koha/koha-sites.conf?

-- 
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