cancel
Showing results for 
Search instead for 
Did you mean: 

How to limit the size of personal files per user?

renato_fritola
Confirmed Champ
Confirmed Champ
I need to limit the size of users' personal files because of limited physical appeal. 
How can I do this?

Example: Each user can only include 5 Gb of data in their personal files.

Thank's.

4 REPLIES 4

kintu_barot
Star Collaborator
Star Collaborator

Hi ,

You can set disk quota for the users while creating them Creating a new user | Alfresco Documentation 

Regards,

Kintu

ContCentric

Regards,
Kintu

I am using LDAP / AD integration. How do I set the quota for these users?

You can use setQuota | Alfresco Documentation api to set the quota of created user.

Regards,

Kintu

ContCentric

Regards,
Kintu

calvo
Star Collaborator
Star Collaborator

Hi,

Add this lines in alfresco-global.properties (10 MB):

system.usages.enabled=true
system.content.maximumFileSizeLimit=10240000

An example of use (Spanish): NeTIC360: :: Alfresco. Establecer cuotas de disco para los usuarios. Javascript API 

As Kintu Barot‌ said, using setQuota to created user.

Regards,

clv