Default limit and limit per user

thamas - November 8, 2009 - 22:59
Project:Node Limit Number
Version:6.x-2.0-alpha1
Component:Documentation
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Description

I'd like to set a default limit to some of my content types, and then modify it on a per user basis.

For example users in member role can create only 2 pages and 5 stories, but I want to set different limit for some users in member role. For example Tom should be able to create 4 pages and 8 stories and Bill should be able to create only one page, but unlimited number of stories.

How to do it?

#1

jdwfly - November 9, 2009 - 17:29

Use a textual comparison in your rule

Import the attached rule as a reference for you to modify. I am using the token module as well, so you might want to install that.

Basically you would have your rule that is the default and you would exclude the users you want to out of it and then create another rule that will be their limit.

AttachmentSize
Auth users can create 1 page except uid 6.txt 5 KB

#2

thamas - November 9, 2009 - 18:01

Thanks for the sample. I will look at it!

 
 

Drupal is a registered trademark of Dries Buytaert.