On Tue, Jan 22, 2008 at 09:22:32AM +0100, Ham MI-ID, Torsten Brumm wrote:
> Hi RT List,
> 
> I remember some weeks ago a bigger threat regarding searches with
> CurrentUser inside.
> 
> Today i tried to create a global SavedSearch like this: AdminCc.Name =
> '__CurrentUser__' AND  (  Status = 'new' OR Status = 'open' )
> 
> I copied this from My Tickets: Owner = '__CurrentUser__' AND  ( Status =
> 'new' OR Status = 'open' )
> 
> I also tried AdminCc.Name like '__CurrentUser__' both without success.

I'm pretty sure that __CurrentUser__ = User.id, not User.Name :(

So try either AdminCc.Id = '__CurrentUser__'.

Here I have search with Requestor.Id = '__CurrentUser__' which works.

_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com

Reply via email to