Allowing role permissions to a content type based on the date
문제
I'd like to allow a certain role can add new content of a certain content-type ONLY between two dates. Before or after these dates the role shouldn't be able to create a new content of this content-type.
Is it possible through the Drupal core or any module? I haven't found anything about it.
해결책
You can implement hook_node_access() (This is now a real hook in Drupal 7) and implement whatever you want.
제휴하지 않습니다 drupal.stackexchange