Only allow certain roles to view cases/project info block
| Project: | Case Tracker |
| Version: | 6.x-1.0-beta3 |
| Component: | User interface |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
I'm not sure if I've missed something, but I only want for display the class="project" block that gets added to my Project nodes to certain roles.
It's this block I mean:
Project number: xxxx
Opened by: admin
Opened on: Thursday, June 18, 2009 - 8:48pm
Last modified: Thursday, June 18, 2009 - 8:48pm
Operations: add Case | view all project casesWhen a content type becomes a Casetracker Project type, no new options appear under CCK > content_permissions, nor in the Casetracker options . I had hoped that 'access casetracker' under permissions would prevent unauth users from seeing this project block if they didn't have the permission checked, but alas not. (or is this a bug?). It seems that this permission only blocks certain users from accessing the Views generated by casetracker, rather than the Casetracker block added to each node.
The only thing I can think of is some theming jiggery-pokery to create a tracker-project.tpl.php or an override to theme_casetracker_project_summary(), but would it not make a nice option for this module...?

#1
Check this issue and comment
and if solves your problem marks this as fixed
http://drupal.org/node/587762#comment-2081640
#2
This is exactly correct.
I personally don't have much use for the extend functionality you're proposing, but if someone provides a reasonable patch to extend the "access case tracker" permission to hiding this information I'll certainly consider it.