Am Donnerstag, 22. September 2016 18:28:47 UTC+2 schrieb Peter Suter:
>
> On 22.09.2016 09:27, Florian Schricker wrote: 
> > 
> > So I am wondering if "patching" PrivateTicketsPolicy/check_permission 
> > would do the trick: By adding "TICKET_ADMIN" to the list of "ignore 
> > permissions / actions" the "mutual recursion" would stop, wouldn't it? 
> > 
> Yes, or at least it sounds plausible to me that this might work. 
> Is it acceptable to you that anyone with TICKET_ADMIN permission will 
> not be restricted by the private tickets policy? 
> Normally the PrivateTicketsPlugin requires TRAC_ADMIN permission to see 
> all private tickets. 
>

Sorry for the delay, here are the results: it's working very well now after 
adding TICKET_ADMIN to the private tickets permission ignore list.

I am still puzzled by the whole "mutual recursion thing" but that just 
shows my complete lack of knowledge of the inner workings of Trac.


So: Issue closed! If anybody is interested I can post the sources of both 
my plugin and my change to the private tickets plugin.


Best regards and a big thank you to all involved for sorting this out!!!
Florian

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to