Hi

On 10.01.2017 13:51, Florian Schricker wrote:
Hi,


I have a follow-up question on the "readonly tickets" plugin:

Trac now only allows commenting a ticket when the ticket type matches the list of tickets in the plugin. But the ticket workflow has an action "change" defined which would move the ticket to state "new". Is it possible to detect this with the plugin and allow such an action?

Maybe you could define an extra permission, configure the workflow action "change" to require (only) that permission, and add that permission to the "allowed_actions" of the readonly plugin?
It seems this is similar to what's described here:
https://trac.edgewall.org/wiki/CookBook/Configuration/SignedTickets#TICKET_SIGNpermission
https://trac.edgewall.org/wiki/CookBook/Configuration/SignedTickets#Signworkflowstep

Best regards,
Peter

(By the way, I think the "mutual recursion" flaw has now been improved in Trac: https://trac.edgewall.org/ticket/12597)

--
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