cancel
Showing results for 
Search instead for 
Did you mean: 

Maximum size Folders in User Homes

bcsx
Champ in-the-making
Champ in-the-making
Hi.

I need to set a maximum size for the user's folders in User Homes for limit the usable space. For example an user can't upload more than X GB.

- I tried the alfresco user quotas but this isn't what I am looking for becouse these quotas limits all the content store and not only the user's folder.

- I also tried this plugin http://code.google.com/p/alfresco-folder-quota/ but after the installation I can't find the aspect and I can't apply it to a folder.

How can i limit the space for the user's folder? I am using alfresco 4.2.d

Thanks.
3 REPLIES 3

adriennicou
Champ in-the-making
Champ in-the-making
I am the same problem.
This add-on is compatible Alfresco 4.0.

Is it possible we only need to developp the aspect for share ?
I'm afraid it will be harder…

kaynezhang
World-Class Innovator
World-Class Innovator
After apply this amp to alfreso ,you should customize share to make this apsect visible,add something like following in  tomcat/shared/classes/alfresco/web-extension/share-config-custom.xml file

   <config evaluator="string-compare" condition="DocumentLibrary">
      <aspects>
         <visible>
            <aspect name="fq:quota"/>
         </visible>
         <addable></addable>
         <removeable></removeable>
      </aspects>
   </config>
   <config evaluator="node-type" condition="cm:folder">
      <forms>
         <form>
            <field-visibility>
               <show id="fq:sizeQuota"/>
               <show id="fq:sizeCurrent" for-mode="view"/>
            </field-visibility>
         </form>
         <form id="doclib-simple-metadata">
            <field-visibility>
               <show id="fq:sizeQuota"/>
               <show id="fq:sizeCurrent" for-mode="view"/>
            </field-visibility>
            <edit-form template="../documentlibrary/forms/doclib-simple-metadata.ftl"/>
         </form>
         <form id="doclib-inline-edit">
            <field-visibility>
               <show id="fq:sizeQuota"/>
               <show id="fq:sizeCurrent" for-mode="view"/>
            </field-visibility>
         </form>
      </forms>
   </config>

You can find this instruction in it's readme.

t16
Champ in-the-making
Champ in-the-making
Hi,

This may seem like a totally stupid question, but for this to work, do you have to have system.usages enabled in global properties?

I cant get it working with 4.2.4 Smiley Sad