Create user folders

Dominik Ruf dominikruf at googlemail.com
Tue Aug 28 07:31:17 UTC 2007


Thanks the how-to helped a lot.

But I have still one problem.
An ordinary user has no privileges to create a folder.
Is there a possibility to run the code as a different user?

On 28 Aug., 00:01, J Cameron Cooper <jccoo... at rice.edu> wrote:
> Dominik Ruf wrote:
> > Hi,
>
> > I am using apachepas to authenticate our users. Therefor there are no
> > user folders.
> > And I don't want to use automembermaker because I don't want create a
> > user folder for everyone.
> > I want to create a action that allows every user to create a user
> > folder by his own.
>
> > Can somebody tell me how I can create a folder in python code to
>
> Plone 2.5, at least, creates member folders on login if they don't exist.
>
> One will generally create content with the 'invokeFactory' method.
>
> http://plone.org/documentation/how-to/add-content-programmatically
>
>        --jcc
>
> --
> Connexionshttp://cnx.org
>
> "Building Websites with Plone"http://plonebook.packtpub.com
>
> _______________________________________________
> Product-Developers mailing list
> Product-Develop... at lists.plone.orghttp://lists.plone.org/mailman/listinfo/product-developers





More information about the Product-Developers mailing list