Weblog von admin

Show a Drupal node exactly one time

I had the requirement of showing a Drupal node only one time to an anonymous user. Anonymous users are given the right to create a cck node. After creation they get the chance to print it or email it to someone. Afterwards the node must be kept private. Only privileged users are given the right to view/change it.


In order to accomplish this task I used the modules cck and simple_access. This post isn't about cck. I just used it to create a new node type. simple_access is used to restrict the access to the nodes. I created two roles and put them into two simple_access groups.

Inhalt abgleichen