On Fri, 2007-01-05 at 09:36 +0100, Andreas Hartmann wrote:
> Hi Brad,
> 
> Brad Murphy schrieb:
> > Lenya 1.2.4
> > 
> > I was just wondering if someone could confirm which files and folders are 
> > needed
> > to create a user without using the GUI?  We would like to add a default CMS 
> > user
> > to all future publications.  This is easy enough with the GUI, however we 
> > have a
> > SVN repository, therefore I need to know which files and folders the GUI 
> > changes
> > in order to commit them in the repository.
> 
> I wouldn't add the files directly - this way you might run into
> problems re. backwards compatibility.
> 
> If you want to add the default user from the command line,
> I'd recommend to use a module with a single test case which
> adds the user via the API:
> 
>   ./build.sh module.test -Dmodule=org.myproject.adduser

I'm afraid this won't work with Lenya 1.2.4 which Brad was referring to.
Module tests only exist in Lenya 1.4, or am I mistaken?
IMHO, it should be ok in 1.2.x to just add the files, because 1.2.4 is
not likely to change much anymore.

Brad, not sure if you missed any files, but if the user is able to
login, do some basic operations (including changing his password), it
should be fine.

josias


> 
> If the user should be added when the publication is instantiated,
> you can add the code to your custom Instatiator class.
> 
> -- Andreas
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to