[development] How to trigger access denied page from hook_nodeapi

Randy Fay randy at randyfay.com
Wed Jan 27 06:10:57 UTC 2010


Hi Ernst - I read your blog post.

It seems to me that your assumption that the author is the viewer when the
node is viewed one time is plausible, but not ironclad. It probably works if
the data is not really important, but in a real-life situation a race
condition on viewing could have someone else view it before the node
creator.

-Randy

On Tue, Jan 26, 2010 at 1:00 PM, Ernst Plüss <ernst.pluess at gmail.com> wrote:

> Thanks Piere! It does exactly what I wanted to do.
>
> See this blog post for more information
> http://www.pluess-production.ch/content/show-drupal-node-exactly-one-time
>
> Best Reagrds
> Ernst
>
>


-- 
Randy Fay
Drupal Development, troubleshooting, and debugging
randy at randyfay.com
+1  970.462.7450
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/development/attachments/20100126/baee730d/attachment.html 


More information about the development mailing list