[development] allowing some users some days to write stories

Dave Cohen drupal at dave-cohen.com
Wed Feb 6 06:33:57 UTC 2008


My experience is that if you want hook_access, you must define the node type 
in your module.  Once defined that way, you can configure the node type with 
Drupal's UI, and add CCK fields.

There's been talk about an "access" op for hook_nodeapi, but I don't know what 
happened allong those lines.

On Tuesday 05 February 2008, Tao Starbow wrote:
> Has anyone successfully done this, adding a hook_access for a node type
> created through the GUI (in Drupal 5)?  I tried this a week or two ago
> and couldn't get it working, so I would love to see an example of the
> right way to do it.
>
> -tao
>


More information about the development mailing list