Ability to only allow certain content to be added between a range of dates I have a drupal 7 site that is used for registration for certain events.  We are currently using content types to collect the information.  What I need is to only allow registered users to post certain content types between a certain set of dates.  Certain roles should be able to add/edit at any time.

For example.  One of the content types is Grant.  But we only accept grants between May 1 and May 31st.  

Before May 1st we'd like to have a message that states: Grants are currently not open, please check back May 1st.
After May 31st we'd like a message to state: Grants are currently closed for Spring 2018, please try again next year.  or something like that.
I would suggest looking into the Rules module for this.

Using this module, you can use its Condition feature to:


Check the date ranges that you specified
Check what content type is being created
Check the current logged in user's role if it's the permitted user role to create a content type


Based if these conditions are met, you can then add what event or message for this matter to display to the user. You aren't also limited to creating one rule but you can create multiple rules based on your conditions.

Hope this gives you an idea and solution.