The project and case types are given their own differing 'module' entries in casetracker_basic_node_info(), but hook_perm is not implemented to correspond to these different module entries. Trying to get permissions for a case or project type thus fails.

The provided patch solves this issue.

Comments

jmiccolis’s picture

Status: Active » Postponed (maintainer needs more info)

I'm not sure I follow you. I just gave a quick re-scan to http://api.drupal.org/api/function/node_access/6 and it's my understanding that we need to implement hook_access (which we do) and not hook_perm for each type.

Are you seeing any strange behavior here that I can try to reproduce?

pedrorocha’s picture

Status: Postponed (maintainer needs more info) » Closed (won't fix)

I'm cleaning the module issues, so if somebody thinks that this issue does make sense yet, feel free to reopen.