[Rt-devel] Googleish owner privileged
David Smithson
dsmithson at activsupport.com
Sat Jul 29 22:29:33 EDT 2006
Hi all. Why is it that an owner specified in a simple search must be a
privileged user to return results. I've found that I can change this
behavior by changing this clause:
# Is there a owner named $key?
elsif ( $User = RT::User->new( $self->TicketsObj->CurrentUser )
and $User->Load($key)
#and $User->Privileged
)
{
push @owner_clauses, "Owner = '" . $User->Name . "'";
}
You see I've commented out a line. I only did this as a test. There
must be a good reason behind this that I'm not seeing. Can someone shed
some light?
Thanks!
David Smithson
________________________________________
ActivSupport, Inc.
Your Flexible IT Partner
Microsoft Gold Partner -- Small Business Specialist
http://www.activsupport.com
Director of Technical Services
Direct: (415) 869 2991
________________________________________
Technical Support Hotline: (415) 979 9285
CLICK HERE FOR ONLINE SUPPORT
More information about the Rt-devel
mailing list