[Rt-devel] Re: [rt-users] [PATCH] Expected behavior of disabled queues while searching?

Ruslan Zakirov ruslan.zakirov at gmail.com
Wed Sep 7 19:24:46 EDT 2005


I think no.

Attached patch should fix this issue and also should hide Tickets from
disabled queues in other places, but this patch works only when user
has no 'ShowTicket' global right.
This patch require stress testing.

Changes:
* if object has field Disabled and it's disabled then this object
can't be used as equiv object for right checks. Patch adds this logic
to RT::Principal::HasRight method.

On 9/7/05, Ben Goodwin <ben at atomicmatrix.net> wrote:
>  
> I'm executing a search in RT (3.4.x, 3.5.x) and am finding hits on tickets
> that are in a disabled queue.  It would be sort-of OK if I could select the
> queue to specifically DISinclude it but I can't. 
> Is this a bug (which I'll provide a patch for)? 
>   
>     -=| Ben 
>   
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
> 
> Be sure to check out the RT Wiki at http://wiki.bestpractical.com
> 
> Buy your copy of our new book, RT Essentials, today!
> 
> Download a free sample chapter from
> http://rtbook.bestpractical.com
> 
> 


-- 
Best regards, Ruslan.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: skip_rights_checks_on_disabled_users.patch
Type: text/x-patch
Size: 668 bytes
Desc: not available
Url : http://lists.bestpractical.com/pipermail/rt-devel/attachments/20050908/0d8db6de/skip_rights_checks_on_disabled_users.bin


More information about the Rt-devel mailing list