Addons

HOWTO: Enable Quotas on Document Types

Updated: March 18, 2024

By default, quotas are available on domains and workspaces only. It is possible to enable them on other document types using Nuxeo Studio.

  1. Create a new XML extension with the following content:

    <extension target="org.nuxeo.ecm.platform.actions.ActionService"
        point="filters">
      <filter id="QUOTA_MANAGABLE_DOCTYPES" append="true">
        <rule grant="true">
          <type>Folder</type>
        </rule>
      </filter>
    </extension>
    

    Replace Folder in the <type> element by the document type on which you want to enable quotas. You can have several <type> elements.

    Note that MANAGABLE is misspelled in the filter id. This will be corrected in a future Nuxeo version, but the current misspelling will continue to work.

  1. Update your Nuxeo instance with the Studio customization.

If you don't want to use Studio and prefer using your IDE, you can just add a contribution with the XML above.


Related documentations