API page: http://api.drupal.org/api/drupal/modules--node--node.module/function/nod...
Describe the problem you have found:
The Return Value section says "An array of node types managed by this module," which is misleading, as shown in this module in the review queue. This function returns all node types managed by any module. (I suppose it means "all node types managed by node.module," but that's not made clear.)
This should prevent modules from accidentally managing access control on other modules' nodes, as was happening in the example module I gave.
Comments
Comment #1
barbi commentedRecommended text:
all node types managed by the node module
Comment #2
jhodgdonI'm not against the change you propose.... The long description paragraph in the doc explains what is going on... Maybe the return should be changed to:
An array of node types that should be managed by node.module permissions.
Comment #3
jhodgdonThis issue has vanished.