From: Roy R. <rs...@ae...> - 2001-12-11 18:16:37
|
I hope I'm not overstepping my bounds, and that I didn't just miss a configuration option somewhere. My company's a fairly new PHPHelpdesk user. One of the issues we discovered was this: Our setup is to have each company client be tightly segregated from the others. This means that someone who's authorized to view tickets for company A shouldn't be able to view/modify tickets for company B. This capability is built into PHPHelpdesk already. However, we also wanted the number of open tickets reported in the title bar to reflect the number of open tickets open in the companies that the user who's logged in has access to. In other words, if we have: Company: Open tickets: A 1 B 2 C 1 D 4 Then a user who has access to all companies should see 8 open tickets; a user who has access to only companies A and B will see only 3 open tickets, etc. This didn't seem to be easily modifiable, so we hacked functions.inc.php slightly. This seems to do what we want. I'm not necessarily arguing that this should be rolled into the actual PHPHelpdesk release, but it seems somewhat antisocial to change source code for an open-source proram and then keep the mods to ourselves. The diff is attached. -roy |