views:

417

answers:

2

I have a custom content type in Drupal which was created using CCK.

The create/edit permissions for this type are not showing up in the node module permissions, although other cck types are.

This content type is also bound to a module, but this module doesn't have any admin screens, all node creation is done through the standard cck interface.

any ideas?

I have tried rebuilding the permissions cache

A: 

Try adding a hook_perm to your module to define the permission manually. If it shows up then one might assume the module is overloading the permission.

Otherwise, perhaps try clearing your caches.

nowarninglabel
+1  A: 

Turns out I was returning the name of the module itself in the hook_node_info array. This needed to return "node" to ensure that permission hooks fired on the module.

Tim Whitlock