Apr 10, 2011 at 12:49 PM
Edited Apr 10, 2011 at 12:50 PM
I've written a command to set a role for a user - this works when called from a command line after a site has been created. However when I try to make use of this command in a Recipe (below) it fails:
user create /UserName:"Test" /Password:"password" /Email:"firstname.lastname@example.org"
Stepping through the code and looking at the db it appears the users are not actually in the database at the point of calling my
defaultroles apply command.
Has the transaction not been committed? Can I force it to if so?
Any help much appreciated :)