Community & Support

Is it possible to set an upload limit/quota for all uploads by a user on multiple content types on a per role basis?

Hello,

Maybe someone else has faced this challenge before, or I'm just plain missing something obvious.

I have searched for hours reading the forums and trying to pair various modules like http://drupal.org/project/upload_maxfiles and http://drupal.org/project/user_quota to achieve my goal of being able to define the total upload quota for a role.

For example, if I have three content types (1,2, and 3) and 3 roles (A,B, and C), is there a way to set something up like this:

ROLE A can upload and unlimited number of files until they reach a 2GB total/quota on all content types.

ROLE B can upload and unlimited number of files until they reach a 3GB total/quota on all content types.

ROLE C can upload and unlimited number of files until they reach a 2GB total/quota on all content types.

Any help is greatly appreciated. I can't seem to find the right module or way to modify the php.ini file.

Thanks in advance for any insight!

CarbonPig

Comments

data quota per user

I'm facing the same problem. I have two different content types with CCK upload file fields. I want to be able to keep a running count of the amount of data that each user has uploaded, and when it hits a limit they cannot add any more (unless they pay for an upgraded role). Is it possible to do this with rules?

Any update?

Hello... Just wondering if anyone has any new information on this topic? I am facing the same situation and need to be able to limit the amount of files each user can upload. Thanks!

nobody click here