cancel
Showing results for 
Search instead for 
Did you mean: 

Quota on spaces

rmahepal
Champ in-the-making
Champ in-the-making
Hi all,

There are 4 posts i found on this forum about 'Quota on spaces' but no answer.
I read that u can probably put a limit on a space, however nobody knows how.

I read that this feature was expected in v 3.3 enterprise. I downloaded  v 3.3 E and installed it locally, but i guess that it was not implemented as i don't see it in this version.
See: http://alfrescoshare.wordpress.com/2009/10/25/alfresco-quota-per-space-roadmap/

Does anyone know how to configure 'quota on spaces' as 'quota on users' is possible.
Any steps or ideas are most welcome.

Thanks in advance.

Kind Regards,
Reena
5 REPLIES 5

zaizi
Champ in-the-making
Champ in-the-making
1. Add a custom aspect to a space to hold the max quota value and current usage value.
2. Add custom behaviour to workout the current size of folder contents (asynchronously) when content is created.
3. Check content size against max quota value on content creation (synchronously) and throw error if quota is exceeded.

If you want us to do it, just DM me.
Ainga

rmahepal
Champ in-the-making
Champ in-the-making
Hi Ainga,

Thank you for reply.
Our team will try the steps you indicated for creating a quota on spaces.

If we don't get through, we will contact again.
If we contact you for help, what is the next step?

Many thanks.
Reena

zaizi
Champ in-the-making
Champ in-the-making
Hi Reena,

Will you make the enhancement open source and available for the wider community?

Ainga

rmahepal
Champ in-the-making
Champ in-the-making
Hi Ainga,

Did you get as far to implementing the quota on spaces and testing it?

After searching i found links on adding a custom aspect to a space.

The other steps you indicated i don't know how to achieve like :
2.  Add custom behavior to workout the current size of folder contents (asynchronously) when content is created.
3. Check content size against max quota value on content creation (synchronously) and throw error if quota is exceeded.

Are there good links you can suggest?

Kind Regards,
Reena

zaizi
Champ in-the-making
Champ in-the-making
Hi Reena,

No, we've not had to implement this. But this is how we'd go about it.

Here a link to policy component that describes use of custom behaviours: http://wiki.alfresco.com/wiki/Policy_Component.

If you plan on releasing the finished functionality as open source happy to assist. If it's for a closed source solution, DM me and we'll offer a consulting.

Ainga
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.