On Tuesday, July 19, 2016 at 6:43:54 AM UTC-7, Florian Schricker wrote: > > Hi, > > I am uncertain whether this is possible at all so I am asking here: I > would like to disable modifying the ticket description when the ticket is > in a given state while still allowing commenting. Can anything like this be > configured in a workflow? > > Any help or answers are greatly appreciated! A simple "function not > installed" (if correct) would also prevent me from digging any deeper... :-) > > regards, > Florian >
1. BlackMagicTicketsPlugin (1) allows a permission to be specified to edit a ticket field. 2. ExtraPermissionsProvider (2) allow you to define new permissions. 3. A permissions policy could be implemented, similar to ReadonlySignedTickets (3), to deny a permission when the ticket is in a particular state. Putting those three things together, I think it might work to define a new permission for editing the ticket description, and deny the permission when the ticket is in a particular state. (1) https://trac-hacks.org/wiki/BlackMagicTicketTweaksPlugin (2) https://trac.edgewall.org/wiki/TracPermissions#CreatingNewPrivileges (3) https://trac.edgewall.org/wiki/CookBook/Configuration/SignedTickets#Readonlylogic - Ryan -- 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.
