node limit

Events happening in the community are now at Drupal community events on www.drupal.org.
anithegregorian's picture

Limit node creation based on user roles

Im trying to limit the creation of nodes by user roles for eg. Subscriber (can create only 2 nodes) while Contributors (can create upto 5 nodes) by using Rules for D7.

So far its turned out pretty good but only upto displaying a message before saving node content. Instead what I am rolling over my head is to decide what user is currently logged in (particularly his role) and how many nodes he has created, then matching that node count with a fixed number, if the condition evaluates to TRUE then deny any further node creation.

Read more
Subscribe with RSS Syndicate content