Closed (fixed)
Project:
CAS
Version:
6.x-3.x-dev
Component:
CAS
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
29 Feb 2012 at 06:38 UTC
Updated:
7 Jun 2014 at 20:59 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
vinmassaro commentedPatch attached.
Comment #1.0
vinmassaro commentedAdded detail.
Comment #1.1
vinmassaro commentedClarity
Comment #2
bfroehle commentedLooks great. I'll try it out soon and will hopefully commit this later this week. Thanks!
Comment #3
vinmassaro commentedGreat! I've made it so an argument is required, so please use this patch.
Comment #4
bfroehle commentedvinmassaro: I've made some revisions and would like to propose an alternative implementation.
The main difference is cas-user-create now only creates one user at a time. This is the same as `drush user-create` and will allow us to extend the interface at a later time to support setting the name and e-mail address when the user is created.
I addition, I've implemented support for the --simulate flag.
Do you approve?
Comment #5
vinmassaro commentedYes, it does make more sense to match the functionality of
drush user-create. We usually pass more than one user account at a time so we'll pass this user list to the command multiple times. Thanks.Comment #6
bfroehle commentedCommitted to 7.x-1.x. Since folks might want this in 6.x-3.x as well, I'll leave the status as "patch (to be ported)". Thanks!
Comment #7
bfroehle commentedCherry picked the patch in 7.x-1.x and committed to 6.x-3.x. Tested to work okay.
Comment #9
jmoughon commentedI am having a few issues with the 6.x-3.2. I upgraded to get Drush functionality. cas-user-create is only working on one of my sites that had not had CAS until 6.x-3.2. All the other sites were upgrades from 6.x-3.1 or 3.0 and they are not working. I get "The drush command 'cas-user-create user' could not be found." I have tried the Dev version as well. I have tried unistalling and reinstalling, running cron and update.php.
Comment #10
bfroehle commentedDo you need to run "drush cc drush"?
Comment #11
jmoughon commentedI was looking for that command. Still somewhat new to Drush. Thanks that fixed it.
Comment #11.0
jmoughon commentedclarity