On 03.08.2014 15:50, Jared Bownds wrote:
My present challenge with the latter permission policy configuration
and ReadonlySignedTickets.py is that all users but TRAC_ADMIN are
unable to comment on any ticket, irrespective of its status (new,
assigned, open, closed as closed). In summary, it's simply not
working as desired.
The code you quoted does not look at status, only at resolution:
if t['resolution'] == 'Signed':
If you reopened the ticket after resolving it as 'Signed', the
resolution might still remain 'Signed'. Could that be what happened?
Maybe try this instead:
if t['resolution'] == 'Signed' and t['status'] == 'closed':
If this doesn't help please specify exactly what code and configuration
you use and what steps you perform and the corresponding section of the
log file.
Do you use other permission plugins (like blackmagic)?
--
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 http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.