3

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

4

2 回答 2

1

原来我在 hook_node_info 数组中返回了模块本身的名称。这需要返回“节点”以确保在模块上触发权限挂钩。

于 2010-03-23T09:32:32.113 回答
-1

尝试将 hook_perm 添加到您的模块以手动定义权限。如果它出现,那么人们可能会认为该模块正在超载权限。

否则,也许尝试清除缓存。

于 2010-03-14T08:14:44.127 回答