Dear trac developers, for a plugin I'm working on, which is designed to provide the FlexibleAssignTo [1] sub-plugin IValidOwnerProvider interface, I need access to req.authname, and ideally also to ticket.owner for the ticket under consideration. I need this for an optional feature of removing / forbidding the current user (or ticket owner) as a next-step assignee in a workflow.
I managed to get at req.authname, but only by modifying FlexibleAssignTo itself to pass down the req parameter to the getUsers method. And I did not "immediately" find a way to get at the ticket information itself, so I'm still missing the desired forbid-current-ticket-owner functionality. Is there some generic way I missed, to get at both pieces of information from that place? Some self.env magic? best regards Patrick [1] http://trac-hacks.org/wiki/FlexibleAssignToPlugin -- You received this message because you are subscribed to the Google Groups "Trac Development" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/trac-dev?hl=en.
