Permission to assign case
timtrinidad - May 17, 2009 - 00:03
| Project: | Case Tracker |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | needs work |
Description
What happened to the ability to restrict the 'assign to' in casetracker? I see it's still a feature in 5.x, but was removed in 6.x.

#1
I have attached a patch that does the following:
casetracker_user_options()function two arguments - the case node, and a boolean for whether or not to return all users. If the second argument is false, it returns the default assign_to, the current assign_to (from the passed $node), and the currently logged in usercasetracker_user_options($node, user_acccess('assign cases'))Dreamweaver does weird things with whitespace so I had to run
diffwith the w flag, so after patching the code might need some indentation adjustment.#2
Sorry I haven't gotten to this yet. if anyone else can help with a review in the meantime I'd appreciate it.
#3
I like the idea here, but there are two things we need to address with the current patch
If we can address those things this should be good to go.
#4
I think this would be a great feature.
Subscribing