As a developer, I'd like to create a superlibrarian user easily, without any clics
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!