[Zope-CMF] Storage Quotas?
Tres Seaver
tseaver@zope.com
11 Jul 2002 14:39:29 -0400
On Thu, 2002-07-11 at 14:23, Douglas Perry wrote:
> Is there a way to place storage quotas per user on a CMF site?
Not out of the box. You might implement it along these lines:
- Add a "content_size" column to the catalog's "Metadata" tab.
- Add a PythonScript, "content_size", to your "custom" skin folder;
have it compute the size of each content object. It could also
(waves hands here) sum the 'content_size' metadata for the user and
raise an exception if s/he would be exceeding the quota.
Tres.
--
===============================================================
Tres Seaver tseaver@zope.com
Zope Corporation "Zope Dealers" http://www.zope.com