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.
| Comment | File | Size | Author |
|---|---|---|---|
| casetracker_6.x-1.0-beta1_hook_perm.diff | 634 bytes | riverfr0zen |
Comments
Comment #1
jmiccolis commentedI'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?
Comment #2
pedrorocha commentedI'm cleaning the module issues, so if somebody thinks that this issue does make sense yet, feel free to reopen.