restriction

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
Arwym's picture

How to restrict content creation of a specific type with user post quota

Hello,

Still a bit new to Rules, but I have been looking around and checking the documentation and API for the solution to my problem; still, I am quite lost as to where to begin, how to proceed.

So, all I want is to restrict, for a particular user role, the creation of nodes of a particular content type, by a quota. I want to count how many nodes of that type the user currently has. And say, that the maximum amount allowed for that user is 5, and he/she already has 5 nodes of that type when he/she tries to create a new one, negate the creation of the node.

Read more
EricST's picture

openScholar sites restriction from LDAP groups.

Hello,

I successfully installed openScholar with ldap authentication enabled and all our ldap groups are mapped to drupal roles (ldap_integration and extended_ldap_groups modules).
Now I have a few dozens ldap groups as drupal roles and I'd like to allow access to openScholar sites to selected groups.

For instance, a teacher creates a new site for his course. He wants to allow access to the site only to students registered to his course (these students are members of the ldap group for this course).

Read more
Subscribe with RSS Syndicate content