[Zope-CMF] Eliminating the /Members directory?
Kevin Carlson
khcarlso@bellsouth.net
Sat, 10 Aug 2002 00:06:15 -0400
Another option you have is to handle the entire document creation process
yourself. For example:
- programmatically create an ID for the document
- call constructContent
- call editMetadata after the fact
I have used this strategy to create a "repository" based instance of CMF
that doesn't expose any member-based path information in the URLS. If you
would like code to go with the rather lame instructions above, please let me
know and I will post them to the list.
Kevin
-----Original Message-----
From: zope-cmf-admin@zope.org [mailto:zope-cmf-admin@zope.org]On Behalf
Of Tres Seaver
Sent: Friday, August 09, 2002 6:31 PM
To: David Elfstrom
Cc: Zope-CMF@zope.org
Subject: Re: [Zope-CMF] Eliminating the /Members directory?
On Fri, 2002-08-09 at 14:42, David Elfstrom wrote:
> I'm wondering what can be done to eliminate the /Members directory in the
CMF.
>
> Basically I want to have people be able to contribute documents, news
> items, articles, and other document types, but I don't want those
documents
> to be stored in the /Members/username -- I want them to be stored in /news
> and /articles and /policies. User accounts should be able to come and go,
> but what the user creates should stay. Does this make sense? Has anyone
> else done this with the CMF, or did you just roll-your-own content
> management system in Zope?
Two things:
- Turn off member folder creation in the membership tool; members
won't have the folder.
- Give the users the "Owner" local role in the specific folders
where you want them to add content.
That's it.
Tres.
--
===============================================================
Tres Seaver tseaver@zope.com
Zope Corporation "Zope Dealers" http://www.zope.com
_______________________________________________
Zope-CMF maillist - Zope-CMF@zope.org
http://lists.zope.org/mailman/listinfo/zope-cmf
See http://collector.zope.org/CMF for bug reports and feature requests