Can't change owner unless you own it or it's unowned
|Reported by:||garyo||Owned by:||CuriousCurmudgeon|
In the latest version of BatchModifyPlugin with trac 0.11 and python 2.5 on Linux, batch-changing owner seems to work OK as long as the ticket is currently unowned or owned by the person doing the batch modify. But that person can't change the owner of tickets they don't own. I'm guessing that's a permission issue; I looked at batchmodify/web_ui.py and it doesn't seem to do anything special with the owner. It just does this:
t = Ticket(self.env, id) t.populate(values) t.save_changes(req.authname, comment)
and ticket/model.py doesn't seem to have any permission checking in populate or save_changes that would affect this. So I'm not sure where to look for what's causing it.