assign a quota when a role is granted

sam.e2 - January 13, 2009 - 17:08
Project:User Quota
Version:6.x-1.0-beta1
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active
Description

I can't make out from the project page and project issues whether User Quota allows limiting content creation based only on defining limitations for each user, or whether its possible to assign restrictions to user roles and base the limitations on that instead.

Could someone clarify this point for me please?

Am I able to limit a role number to a certain number of possible page creations using this module, such that I can then give this role number to many users, or have it automatically assigned, and enforce the restrictions?

Thanks!

#1

greggles - January 13, 2009 - 17:29
Title:Does User Quota support role based content creation limitation?» assign a quota when a role is granted

It is on a per user basis and does not take roles into account.

It would be a nice feature to grant someone a certain quota when they are granted a role. Something like this:

1. Admin configures the module so that Role X can create N nodes of Type Foo
2. User is created with Role X (or an existing user is granted Role X)
3. A module automatically grants that user the ability to create N nodes of Type Foo

#2

Rosamunda - January 29, 2009 - 13:55

subscribing :)

#3

arphaus - March 11, 2009 - 21:14

This would be great if it were role-based - then one could sell a role to create X nodes. The way it is now it requires unnecessary administration.

#4

greggles - March 12, 2009 - 13:48

requires unnecessary administration.

Or glue code...

I abstracted this module away from a big custom payment framework we built for a site, which is how I recommend people integrate it. There was talk of a bounty to integrate this with something like http://drupal.org/project/lm_paypal but unfortunately not enough of a bounty materialized. If you are interested in sponsoring that work, please let me know.

#5

CarbonPig - August 19, 2009 - 05:10

subscribe

#6

pjb - September 2, 2009 - 02:14

subscribe

 
 

Drupal is a registered trademark of Dries Buytaert.