Summary: | Add a script to create a superlibrarian user | ||
---|---|---|---|
Product: | Koha | Reporter: | Jonathan Druart <jonathan.druart> |
Component: | Command-line Utilities | Assignee: | Jonathan Druart <jonathan.druart> |
Status: | CLOSED FIXED | QA Contact: | Testopia <testopia> |
Severity: | enhancement | ||
Priority: | P5 - low | CC: | chris, josef.moravec, kyle, robin, tomascohen |
Version: | Main | ||
Hardware: | All | ||
OS: | All | ||
See Also: | https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10337 | ||
Change sponsored?: | --- | Patch complexity: | Small patch |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: | ||
Circulation function: | |||
Attachments: |
Bug 17459: Add a script to create a superlibrarian user
Bug 17459: Add a script to create a superlibrarian user Bug 17459 Follow up Bug 17459 Follow up [SIGNED-OFF] Bug 17459: Add a script to create a superlibrarian user [SIGNED-OFF] Bug 17459 Follow up Bug 17459: Add a script to create a superlibrarian user Bug 17459: Follow up |
Description
Jonathan Druart
2016-10-17 17:00:47 UTC
Created attachment 56608 [details] [review] Bug 17459: Add a script to create a superlibrarian user This is for developers: it's quite long (many clics) to create a new superlibrarian user. This new script creates a new user with superlibrarian permissions with the easy to remember credential koha/koha Test plan: perl misc/devel/create_superlibrarian.pl Log in to Koha using koha/koha Would you mind if I did a quick follow up that added the option to pass in username and password as parameters? (It could still default to koha/koha if they weren't set) (In reply to Chris Cormack from comment #2) > Would you mind if I did a quick follow up that added the option to pass in > username and password as parameters? > > (It could still default to koha/koha if they weren't set) Please do :) Created attachment 56630 [details] [review] Bug 17459: Add a script to create a superlibrarian user This is for developers: it's quite long (many clics) to create a new superlibrarian user. This new script creates a new user with superlibrarian permissions with the easy to remember credential koha/koha Test plan: perl misc/devel/create_superlibrarian.pl Log in to Koha using koha/koha Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz> Created attachment 56631 [details] [review] Bug 17459 Follow up Adding POD and --userid and --password options 1/ To test, use the same routine as before, with no options. 2/ You should have a user with koha/koha as userid and passwords 3/ Delete that user 4/ Run the script with --userid <userid> --password <password> 5/ You should have a user in koha with userid/password set Created attachment 56632 [details] [review] Bug 17459 Follow up Adding POD and --userid and --password options 1/ To test, use the same routine as before, with no options. 2/ You should have a user with koha/koha as userid and passwords 3/ Delete that user 4/ Run the script with --userid <userid> --password <password> 5/ You should have a user in koha with userid/password set Created attachment 56670 [details] [review] [SIGNED-OFF] Bug 17459: Add a script to create a superlibrarian user This is for developers: it's quite long (many clics) to create a new superlibrarian user. This new script creates a new user with superlibrarian permissions with the easy to remember credential koha/koha Test plan: perl misc/devel/create_superlibrarian.pl Log in to Koha using koha/koha Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz> Signed-off-by: Josef Moravec <josef.moravec@gmail.com> Created attachment 56671 [details] [review] [SIGNED-OFF] Bug 17459 Follow up Adding POD and --userid and --password options 1/ To test, use the same routine as before, with no options. 2/ You should have a user with koha/koha as userid and passwords 3/ Delete that user 4/ Run the script with --userid <userid> --password <password> 5/ You should have a user in koha with userid/password set Signed-off-by: Josef Moravec <josef.moravec@gmail.com> Created attachment 56814 [details] [review] Bug 17459: Add a script to create a superlibrarian user This is for developers: it's quite long (many clics) to create a new superlibrarian user. This new script creates a new user with superlibrarian permissions with the easy to remember credential koha/koha Test plan: perl misc/devel/create_superlibrarian.pl Log in to Koha using koha/koha Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz> Signed-off-by: Josef Moravec <josef.moravec@gmail.com> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> Created attachment 56815 [details] [review] Bug 17459: Follow up Adding POD and --userid and --password options 1/ To test, use the same routine as before, with no options. 2/ You should have a user with koha/koha as userid and passwords 3/ Delete that user 4/ Run the script with --userid <userid> --password <password> 5/ You should have a user in koha with userid/password set Signed-off-by: Josef Moravec <josef.moravec@gmail.com> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> Pushed to master for 16.11, thanks Jonathan, Chris! |